Uploaded image for project: 'GPII - Global Public Inclusive Infrastructure'
  1. GPII - Global Public Inclusive Infrastructure
  2. GPII-3285

The Captions enactor should work for videos added dynamically after page load

    Details

      Description

      Currently the Captions preference can set the captions of embedded YouTube videos. However, if the video is dynamically added after page load, the enactor will not be able to locate the video to setup the necessary bindings. The enactor should be improved to listen for new iframes added and setup the necessary bindings if new video elements are found.

       

      Look into Mutation Observer ( https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver )

        Attachments

          Activity

            People

            • Assignee:
              jobara Justin Obara
              Reporter:
              jobara Justin Obara
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: