vast-video-js icon indicating copy to clipboard operation
vast-video-js copied to clipboard

vast-video-js can play video with link from Youtube

Open tuandungcmf opened this issue 12 years ago • 4 comments

Help me, please !

Vast-Video-js can play video with link from Youtube

tuandungcmf avatar May 24 '13 02:05 tuandungcmf

Hi! I`ve missed your message, sorry... You can play youtube files with Video.js. So you don't need to use vast-video-js.

If I've not understand your question. please say what do you mean.

PetroFrolov avatar Jun 04 '13 13:06 PetroFrolov

Usually youtube is iframe like <iframe width="560" height="315" src="http://www.youtube.com/embed/8ACnLALdKT8" frameborder="0" allowfullscreen></iframe> Then youtube loads Flash player.

I think it is not possible for a JavaScript library. Is it?

paulvi avatar Jun 06 '13 10:06 paulvi

Take a look at Video.JS docs, please https://github.com/videojs/video.js/blob/master/docs/tech.md.

To add a youtube source to your video tag, use the following source:

You don't need to use my plugin in this case.

PetroFrolov avatar Jun 07 '13 07:06 PetroFrolov

:+1: https://github.com/videojs/video.js/blob/master/docs/tech.md#youtube-technology

paulvi avatar Jun 07 '13 08:06 paulvi