Hi Im having a slight problem!
I have created a vr tour for a local hotel so their web designer can add it to the website to play in a deignated sized window.
He has been able to resize the normal flash files that work great but after redoing the VR to HTML5 so that its compatible with iPhone and iPad he can’t get to resize the video on the website?
I use easy pano 7.4 for the VRs
Any help would be greatfull
Thank you in advance Andy
What sort of resizing are you referring to here? Do you mean within Freeway, changing the dimensions of the video element? Or do you mean in the browser, clicking a full-screen widget or similar to resize the video during playback?
Walter
On Dec 2, 2011, at 6:01 AM, Andy wrote:
Hi Im having a slight problem!
I have created a vr tour for a local hotel so their web designer can add it to the website to play in a deignated sized window.
He has been able to resize the normal flash files that work great but after redoing the VR to HTML5 so that its compatible with iPhone and iPad he can’t get to resize the video on the website?
I use easy pano 7.4 for the VRs
Any help would be greatfull
Thank you in advance Andy
HTML5 is going to be styled by CSS, I imagine. A video tag has a width and height attribute, but you could back those up with the same properties set in CSS.
Here’s the canonical example from W3Schools:
<video width="320" height="240" controls="controls">
<source src="movie.mp4" type="video/mp4" />
<source src="movie.ogg" type="video/ogg" />
Your browser does not support the video tag.
</video>
You could extend that to look like this:
<video width="320" height="240" style="width:320px; height:240px;" controls="controls">
<source src="movie.mp4" type="video/mp4" />
<source src="movie.ogg" type="video/ogg" />
Your browser does not support the video tag.
</video>
Walter
On Dec 6, 2011, at 9:43 AM, Andy wrote:
Hi Walter,
It would be changing the element itself so it played within the page at a certain size.