Video block, stop auto play
PermalinkI am using the video block but as there is going to be several videos on the page I really don't want all the vids auto playing.
I have looked in the view.php for this block and have changed all autoplay/start code from true to false but it has no effect on the videos, they still start automatically.
Any ideas how I can achieve this?
Thanks
Karl
I originally built the Flash Video block because the core block wasn't meeting my needs. The Media Library block works with file sets, so you can embed a set of videos or audio files onto your page and have tags or paging handled automatically. Auto-play is optional. You might be interested in one of these to solve your problem
The way to it will be to append &autostart=false to the flashvar and data values.
But doing so makes the video disappear.
I see autostart is on the TODO list.
Or did you get this sorted out?
and try googling.. but not find any clue for now to resolve this problem.
http://code.google.com/p/swfobject/wiki/documentation...
this the swfobject i attach.
root/concrete5/js
hope can help. :)
and have these lines added to the action-script
just after "stage.addEventListener(MouseEvent.MOUSE_UP, volUp);"
stream.togglePause();
bigPlay_mc.alpha = 1;
barBg_mc.toggle_mc.gotoAndStop(2);
This will work fine.
Check the file attached!
I've rebuild it for you!
So you can have the videoPlayer.swf that doesn't automatically start the movie - and use it directly. (Put it where it belongs: /concrete/blocks/video )
the folder location of the .SWF has probably changed to e.g.:
/updates/concrete5.x.x/concrete/blocks/video/
Then you get all the great 'sharing' and 'embedding' features that these services provide.