Is there any module that allows multiple videoplayers on one page? With the one I used there is a problem with same ID:s which makes only one vide work.
I'd recommend using flowplayer with the playlist plugin. Then it's as simple as adding videos to the media library and using a multiple media picker to select more than one, then some xslt to write out a list of links to the movie files. Flowplayer does the rest
i have been working on an umbraco driven flowplayer implementation and it is quite nice... packaging it up with the proper script inserts has proven to be a bit of a challenge... check out the dev implementation of it here... http://wreckstoriches.com.strenghosting.com/
flowplayer is awesome!
i also have a macro on http://packages.maliciousthinktank.com that plays swf files and uses the media id to append to the player id to avoid conflicts - direct link to the swf player demo is here...
But, I'm little surprised why you're using the file name of the media item as the div id value? I'd rather go with the id of the media item, will be unique for each media item.
Multiple videos
Is there any module that allows multiple videoplayers on one page? With the one I used there is a problem with same ID:s which makes only one vide work.
Have seen some threads lately about that... Let me see if I can find those...
Here it goes...
Hope that helps.
Regards,
/Dirk
That thread is about the DesignIT Video Embed which uses urls to embed videos.
Is it possible to use that datatype with flv or any other vide format?
Otherwise I use the EndForwardFlvPlayer but then I get that problem with multiple videos..
I'd recommend using flowplayer with the playlist plugin. Then it's as simple as adding videos to the media library and using a multiple media picker to select more than one, then some xslt to write out a list of links to the movie files. Flowplayer does the rest
i have been working on an umbraco driven flowplayer implementation and it is quite nice... packaging it up with the proper script inserts has proven to be a bit of a challenge... check out the dev implementation of it here... http://wreckstoriches.com.strenghosting.com/
flowplayer is awesome!
i also have a macro on http://packages.maliciousthinktank.com that plays swf files and uses the media id to append to the player id to avoid conflicts - direct link to the swf player demo is here...
http://packages.maliciousthinktank.com/flash-video/externalvideo.aspx
for flv... definitely recommend flowplayer.
That implementation of flowplayer looks awesome! Would be nice to see the code behind ;)
Ive used your videoplayer before, Bob and now that you have extended the package with multiple videos its even better :)
Thanks for your help!
Hi again!
Bob: Is it possible in some way to use your simpe video player to play multiple videos the same way the external does?
I also tried out your externalvideo that you said is ablee to play multiple videos without conflict but when I add two videos the both disappear?
I tried to try a solution:
Since the problem seems to be that there is multiple identical id I try to make dynamic id:s in the xslt file
But I get an error div id. How can I make this work?
Hi,
should resolve the duplicate div id error.
But, I'm little surprised why you're using the file name of the media item as the div id value? I'd rather go with the id of the media item, will be unique for each media item.
Cheers,
/Dirk
okay, you are very close...
for your divID -- i typically use a static name appended with the node id of the media file... with the { } syntax
<div id ="myVideo{$vidToPlay}">
you also need to use that variable in your var mttVid1 refrences as well...
var= mttVid<xsl:value-of select="$vidToPlay"/>
and refrence that throughout the rest of that javascript chunk... this keeps all your refrences unique for multiple players on the page
and finish the script out with
mttVid<xsl:value-of select="$vidToPlay"/>.write ("myVideo<xsl:value-of select="$vidToPlay"/>");
that should set you up for using multiple instances on the same page.
Got error: Identifier expected:
Syntax error?
Solved it "temporarily":
The only problem now is that in explorer, if I ´reload the page or move away and go back the player is just a black dot...?
i Finally got all working by using the jwlplayer-based package endforwardFlvPlayer. I switch to that swf-file and then it worked!
Final code:
is working on a reply...