question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Create an SubtitledHtmlEditorDirective

See original GitHub issue

With the recent addition of audio translations to outcomes, hints, and solutions, it would be nice to abstract out a SubtitledHtmlEditorDirective for re-use. You can notice a decent amount of code duplication in these files:

  • HintEditorDirective.js
  • OutcomeEditorDirective.js
  • SolutionExplanationEditorDirective.js
  • StateContentEditorDirective.js

Specifically, there are similar $scope.onAudioTranslationsStartEditAction and $scope.onAudioTranslationsEdited functions in each of these files. It would be nice to contain these into a separate directive.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
DubeySandeepcommented, Feb 23, 2018

@bansalnitish, #4713 is under review. (I think @jervis446 has forgotten to put Fixes #bugnum in Explanation section of the PR)

1reaction
1995YogeshSharmacommented, Feb 14, 2018

@jervis446 , yes go ahead. I’ll assign it to you.

In general, if you see an unassigned issue and want to work on it, just go ahead and assign it to yourself.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Adding captions and subtitles to HTML video - Developer guides
This code creates a documentFragment , which is used to hold an unordered list containing our subtitles menu. First of all an option...
Read more >
Captions/Subtitles | Web Accessibility Initiative (WAI) - W3C
Helps you understand and create captions (also called “subtitles”) for audio and video media accessibility.
Read more >
Top 10 Video Editor with Captions or Subtitles Function
1. Wondershare DemoCreator. DemoCreator is a professional captioning program that may be used to create, edit, and repair external caption ...
Read more >
Using an External HTML Editor - University of Texas at Austin
Here is a possible workflow to use BlueGriffon as an intermediary editor between two Drupal or WordPress sites: Copy the HTML out of...
Read more >
How to Add Closed Captions & Subtitles to HTML5 Videos
Open up your website's HTML editor and view the code for the video that needs captions. Add a track tag with the following...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found