如何在asp.net的页面加载中全屏播放youtube视频(如按全屏按钮) [英] How to play youtube video full screen ( like pressing fullscreen button) in page load in asp.net

查看:257
本文介绍了如何在asp.net的页面加载中全屏播放youtube视频(如按全屏按钮)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在asp.net c#页面加载中以全屏模式(如按全屏按钮)播放一个Youtube视频. 请问有什么办法可以帮助我......

I need to play a you tube video in full screen mode( like pressing full screen button) in page load in asp.net c#
is there any way pls help me ......

推荐答案

您实际上不能对用户强制这样做.播放器允许您允许全屏播放,但这只会在播放器上放置按钮.

您可以通过使用弹出模式来一起破解全屏"版本,但您仍将拥有浏览器镶边.

这是一个安全/沙盒问题...在用户不知情的情况下,无法使Flash应用程序全屏显示.

干杯.
You can''t actually force this on the user. The player allows you to allow full screen, but this will only put the button on the player.

You can hack together a "full screen" version by using the popup mode, but you''ll still have browser chrome.

This is a security/sandboxing issue...can''t have a flash application go full screen without the user knowing.

Cheers.


这篇关于如何在asp.net的页面加载中全屏播放youtube视频(如按全屏按钮)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆