![](https://secure.gravatar.com/avatar/70c3d500d44c41d4987861189e837f43?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
Embedding YouTube live streams
Is it possible to play YouTube live streams using JWPlayer?, because when i added the YouTube live stream URL to the player script it doesn't seem to be able to load.
Is it possible to play YouTube live streams using JWPlayer?, because when i added the YouTube live stream URL to the player script it doesn't seem to be able to load.
I am not sure if this would work. Do you have an example of where you tried this?
@christopherferron
When I embed live streams from Youtube a use the fallowing code:
<script>
jwplayer("ovnPlayer").setup({
file: "https://www.youtube.com/watch?v=ID",
stretching: 'fill', // image cover fix
width: "100%",
aspectratio: "16:9"
});
</script>
<script>
jwplayer("ovnPlayer").onPlay(function() {
jwplayer().seek(999999999); //Jump to live
});
</script>
Hope it helps!
I mean a link.