javascript - Moving overlay content in time with HTML5 video -


I have an HTML5 video on which I have the elements placed at the top.

I want to follow the content Some objects in the video are the best way for me to do this, so I can control the CSS top and left attributes (how do I see that Content that runs above the video).

I have to ensure that the condition of the content is always kept in sync with the time of the video. If a user restarts the video or leaves it at a certain point, it would be good if the material knew where it was.

I have seen some examples of this where they use JSON to control the condition of the material and at what time should be shown, hide and move, I'm not sure that this video player and How was the bend with the time of the video.

I have not got anything to understand the JSON method or other ways of doing it.

Thanks

I can advise to combine, All should do. In particular, take a look at these.

The popcorn base plugin is a cover for creating your own popcorn plugin, but it comes with some plugins already built, and there is full keyframe animation of them. I suggest that you start with the "Style" plugin, which will take any existing DOM element and will enliven your CSS properties in time with the video, including "Top", "left", etc.

Popcorn does not take a Jason Blow directly for all the animations, but it should be simple to cross such an object and make proper calls to popcorn methods. Both projects are well documented and are good examples, simple examples.

Full disclosure: I am creating popcorn base plugin, so I can be a bit biased.

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -