Hi,
I've tested a project which contains 4 video scenes (720p/960p) urls injected into a single videoplayer plugin on scene start event.
In "standard" mode the videos are played if there is or not a sound for iPhone.
In "WebVR" mode the videos are played if there is no iPhone sound and I used the play then delayedcall(0.1, pause) to init the videoplayer.
But if I use an iPhone sound on videos I can have a browser page reload during the playback of a video. Difficult to identify the exact issue.
Notes :
- the videoplayer videorurl, posterurl, panovideo, onvideocomplete, volume, width, height, visible attributes/events are updated on the fly during the scene start event.
- splashscreen attribute below is designed to add a play button to activate the first video scene and activate the videoplayer for all videos in VR mode.
- the plugin instance has this setup :
<plugin name="videosceneplayer"
url.flash="%SWFPATH%/graphics/videoplayer.swf"
url.html5="%FIRSTXML%/graphics/videoplayer.js"
width.no-panovideosupport.or.html5.and.ie.and.mobile="100%"
height.no-panovideosupport.or.html5.and.ie.and.mobile="prop"
onloaded="SPECIFIC_ACTION"
onvideoready="SPECIFIC_ACTION"
videourl="highres.mp4|iphonesound.mp3"
posterurl="framehighres.jpg"
videourl.mobile.and.html5.or.tablet.and.html5.or.html5.and.safari="lowres.mp4|iphonesound.mp3"
posterurl.mobile.and.html5.or.tablet.and.html5.or.html5.and.safari="framelowres.jpg"
autoresume="true"
preferredformat.chrome="mp4"
preferredformat.firefox="webm"
preferredformat.safari="mp4"
preferredformat.ie="mp4"
preferredformat.edge="mp4"
buffertime="0.1"
volume="1.0"
pausedonstart="true"
loop="false"
onvideocomplete=""
enabled="false"
zorder="0"
visible="false"
panovideo="false"
align="center"
ox="0"
oy="0"
keep="true"
delay="0"
mute="false"
splashscreen="false"
/>
Alles anzeigen