These forums are currently read-only due to receiving more spam than actual discussion. Sorry.

It is currently Sat Dec 02, 2017 4:20 pm Advanced search

Sequential Videos

Here you can discuss things related to HTML and the Web in general that do not fit in to other categories.

Sequential Videos

Postby Ultramog » Wed Jul 08, 2009 5:06 pm

I'm trying to optimize the presentation of multiple sequential videos.

My first attempt listens for the conclusion of the first video, then writes a new .src attribute to the player. The second .src attribute is applied and printed to an alert, but the video player continues to render the first .src. Also, I have not been able to assign a <source> with multiple codec attributes dynamically. Example:

http://flash.alloymarketing.com/embed_video/

My second attempt creates discrete <video> elements. They are hidden, revealed and paused in sequence.

http://flash.alloymarketing.com/embed_v ... ylist.html

This version works in OS X Safari and Firefox, but not on iPhone. iPhone switches back from Quicktime to Safari upon completion of the first video and displays a broken play button.

Is there a more robust implementation for sequential videos?
Ultramog
<h6>
 
Posts: 2
Joined: Wed Jul 08, 2009 4:44 pm

Postby zcorpan » Thu Sep 17, 2009 8:03 am

Try to set src and then call load() on the element.

With <source> elements, try to change the src on the <source>s and then call load() on the video element.
zcorpan
<article>
 
Posts: 807
Joined: Tue Feb 06, 2007 8:29 pm
Location: Sweden

Thanks

Postby Ultramog » Tue Sep 22, 2009 2:48 pm

The first tip works well. So I have a single player playlist running on iPhone here:

http://flash.alloymarketing.com/embed_v ... apple.html

There is a pre-roll without controls followed by content with controls.

Have not been able to successfully apply the second tip for codec failover. Onward...
Ultramog
<h6>
 
Posts: 2
Joined: Wed Jul 08, 2009 4:44 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest