Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Re-sizing video View modes: 
User avatar
Member
Member
john-redbox-media.co - 2/6/2012 8:25:43 AM
   
Re-sizing video
Hello,

I'm embedding a video file on a page.. however unless I have the size set to the original size of the video, I don't see any controls (when I have them turned on).

If I resize the video down, it effectively masks the video - AND the controls, and doesn't actually resize it.

Has anyone encountered this? Is there a fix?

I'm embedding a .mov file and my browser is using the Quicktime plug in to play.

User avatar
Kentico Support
Kentico Support
kentico_janh - 2/7/2012 10:40:27 PM
   
RE:Re-sizing video
Hello,

There is a fix, but only for version 6 of Kentico CMS, so you would need to upgrade your Kentico to fix it (or you can use a following workaround).

The problem is, that there is a scale parameter missing for a quicktime movie in version 5. So you can add your video into an editable region, look at the source code, which is rendered on the live site, paste it instead of the source code generated by Kentico for that movie and add the scale="tofit" attribute into it:

<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" type="video/quicktime" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="300" height="200" >
<param name="src" value="http://domain.com/MOV_video.aspx" />
<param name="autoplay" value="false" />
<param name="controller" value="true" />
<param name="loop" value="false" />
<embed type="video/quicktime" src="http://domain.com/MOV_video.aspx" width="300" height="200"
controller="true" autoplay="false" loop="false" scale="tofit">

</embed>
</object>


Best regards,
Jan Hermann

User avatar
Member
Member
JohnOliver - 2/9/2012 9:42:22 AM
   
RE:Re-sizing video
Jan, thats great, thanks