使用YouTube播放器播放本地视频 [英] Play a local video with YouTube Player

查看:4275
本文介绍了使用YouTube播放器播放本地视频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是可行的吗?我可以用YouTube播放器播放本地视频吗?我在哪里可以下载代码?



谢谢

编辑:

我真正想要的是一个类似于YouTube的玩家,我需要看起来一样,所以我可以播放本地存储的视频。

解决方案

如果您不扩展问题。 (也许甚至是这样...)

答案是NO,没办法。



对不起! / p>

编辑

如果你实际上有一个视频播放器LIKE Youtube's thats a完全不同的故事。



如果你找不到类似Youtube的Flash视频播放器,你可能需要考虑一个像 Flowplayer 。或者任何其他的。


最流行的一个不知道
我怎么忘记了
JW Player
此处
谢谢
@Michael 的评论。


您可以建立自己的Flash视频播放器:

http://www.communitymx.com/abstract.cfm?cid=4E1D8
http://www.thetechlabs.com/tech-tutorials/audionvideo/how-to-build- a-as3-videoplayer /



(还没有试过这些!)

但是,这不是一件容易的事(我明白)。

你已经标记了OP javascript我拿出来了,因为我虽然不是你做什么,但如果你做了,你应该尝试 VideoJS HTML5视频播放器。



祝您好运!请评论或编辑你的问题,如果你想更详细的答案(从我或任何其他人)。

Is this posible? Can I play a local video with YouTube player? Where can I download the code?

Thanks

EDITED:
what i really want is a player similar to YouTube's, i need to look the same, so i can play the videos of my web that are going to be locally stored

解决方案

If you don't expand the question. (and maybe even so...)

The answer is NO, no way.

Sorry!

EDIT:

If you actually ment have a video player LIKE Youtube's thats a whole different story.

If you cant find a Flash video player similar to Youtube's you may want to consider a tool like Flowplayer. Or any other out there.

The most popular one don't know how I forgot is JW Player. See a demo here.
Thanks @Michael for the comment.

You could build your own Flash video player:

http://www.communitymx.com/abstract.cfm?cid=4E1D8 http://www.thetechlabs.com/tech-tutorials/audionvideo/how-to-build-a-as3-videoplayer/

(haven't tried any of these!)

But that's not an easy task (I understand).

You've tagged the OP javascript I took it out because I though that is not what you ment but if you did, you should try VideoJS an "HTML5" video player.

Good luck! please comment or edit you question if you want more in detail answers (from me or anybody else).

这篇关于使用YouTube播放器播放本地视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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