1 Feb 2013 8:07 AM #1
Unanswered: video into a carousel doesn't work
I have problems with a carousel which contains videos and images:
First : When I swipe to a video I listen to the sound of my video but I don't see it , I see only the image (posterUrl). I must tap to see the video however "autoResume" and "autoPause" is true.
Second: When I come back on my video (previously launched ) , it's black and there is no sound anymore.
Any idea ?
4 Feb 2013 4:29 AM #2
4 Feb 2013 6:51 AM #3
have you tried...
When you say swipe to a video is this what happens the first time you view the video or after when you come back to it? What format is the video in? Is it a local video or youtube?
I have heard of some problems with videos in carousels. Have you tried dynamically adding and removing the video using component query, listening out for the activeitemchange event?
I have had some success completely removing the video by setting the html to "" (i.e nothing) after an activeitemchange. Then adding it again once the carousel page appears.
5 Feb 2013 1:10 AM #4
thanks for you reply
It happens when I come back to the video.
In fact, I have a solution :
I have increased the buffer size with the méthode "setBufferSize" of carousel, but I guess there is a best solution.
5 Feb 2013 1:56 AM #5
Take a look here...
See how you go....but if you are still having problems you could try removing the video on carousel swipe like this (if the item in the carousel has an id of video):