Re: Fullscreen Playback of YouTube live streams

#9
Swordh wrote:Isn't it easier to just download the clip first? you'll get rid of buffering and a more reliable source.
youtube-dl is a great tool for doing this.
Good point, but the topic talks about YouTube life streams...
Didi Kunz
CasparCG Client-Programmer, Template Maker & Live CG-Operator
Media Support, CH-5722 Gränichen, Switzerland http://mediasupport.ch/
Problems? Guide to posting Bug reports & Feature requests

Re: Fullscreen Playback of YouTube live streams

#11
I like to update with some more options
This works fine to get fullscreen playback, auto start playing, for live and normal youtube video's

get the embedcode
PLAY 1-1 [HTML] https://www.youtube.com/embed/wOS4d8Slk-Y

ad these options after ? for HD playback ..
?autoplay=true&showinfo=0&autohide=1&vq=hd1080&nohtml5=1

so this should work
PLAY 1-1 [HTML] https://www.youtube.com/embed/wOS4d8Slk ... &nohtml5=1

the last option directs to flash playback, this is needed for live video
Casper switches automatic to this mode if you don't use this option, but with this option it starts faster.
If you get an playback error with caspercg with live streams you need to install the flash software from the CasperCG download site
Regards,
Theo Kooijmans
UniversalDV

Re: Fullscreen Playback of YouTube live streams

#13
Now i get this whenever i try to play live streams but surprisingly non live videos play fine

Code: Select all

2017-01-17 16:43:51.139] [9428]  [info]    Received message from 127.0.0.1: stop 1-91\r\n
[2017-01-17 16:43:51.140] [10600] [debug]   Executed command: StopCommand
[2017-01-17 16:43:51.140] [6996]  [warning] html[https://www.youtube.com/embed/gkSeQJThUzw??autoplay=true&showinfo=0&autohide=1&nohtml5=1] window.requestAnimationFrame() never called. Animations might have been laggy
[2017-01-17 16:43:51.140] [10600] [info]    Sent message to 127.0.0.1: 202 STOP OK\r\n
[2017-01-17 16:43:51.140] [6996]  [info]    html[https://www.youtube.com/embed/gkSeQJThUzw??autoplay=true&showinfo=0&autohide=1&nohtml5=1] Uninitialized.
[2017-01-17 16:43:53.696] [9428]  [info]    Received message from 127.0.0.1: play 1-91 [HTML] "https://www.youtube.com/embed/gkSeQJThUzw??autoplay=true&showinfo=0&autohide=1&nohtml5=1"\r\n
[2017-01-17 16:43:53.697] [10600] [info]    html[https://www.youtube.com/embed/gkSeQJThUzw??autoplay=true&showinfo=0&autohide=1&nohtml5=1] Initialized.
[2017-01-17 16:43:53.699] [10600] [info]    transition[empty=>html[https://www.youtube.com/embed/gkSeQJThUzw??autoplay=true&showinfo=0&autohide=1&nohtml5=1]] Initialized.
[2017-01-17 16:43:53.699] [10600] [debug]   Executed command: PlayCommand
[2017-01-17 16:43:53.699] [10600] [info]    Sent message to 127.0.0.1: 202 PLAY OK\r\n
[2017-01-17 16:43:53.735] [10948] [info]    transition[empty=>html[https://www.youtube.com/embed/gkSeQJThUzw??autoplay=true&showinfo=0&autohide=1&nohtml5=1]] End Of File.
[2017-01-17 16:43:53.735] [10948] [info]    transition[empty=>html[https://www.youtube.com/embed/gkSeQJThUzw??autoplay=true&showinfo=0&autohide=1&nohtml5=1]] Uninitialized.

Who is online

Users browsing this forum: No registered users and 1 guest

cron