在我的应用程序中,我正在显示来自 Vimeo 和 Youtube 的视频。默认情况下,所有视频都应以横向模式打开。整个应用程序仅基于纵向。视频仅以纵向模式播放。不在横向模式下播放,也不支持方向。
我正在使用以下代码。
Ext.getCmp('videoPageView').setHtml('<!DOCTYPE HTML"><html><body><iframe src="http://player.vimeo.com/video'+video+'" height="270px" width="100%" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></body></html>');