Play a local video with YouTube Player

倖福魔咒の 提交于 2019-12-11 08:48:56

问题


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


回答1:


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).



来源:https://stackoverflow.com/questions/4856725/play-a-local-video-with-youtube-player

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!