]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/standalone/videos/embed.ts
Add lazy loading in player
[github/Chocobozzz/PeerTube.git] / client / src / standalone / videos / embed.ts
index 0d165ea7b10631582cd84d6fb029089ccbded3b7..6dd9a3d765ffda850c926e7f9fff31f7e4d6711c 100644 (file)
@@ -323,6 +323,7 @@ class PeerTubeEmbed {
         p2pMediaLoader: {
           // playlistUrl: 'https://akamai-axtest.akamaized.net/routes/lapd-v1-acceptance/www_c4/Manifest.m3u8'
           // playlistUrl: 'https://d2zihajmogu5jn.cloudfront.net/bipbop-advanced/bipbop_16x9_variant.m3u8'
+          // trackerAnnounce: [ window.location.origin.replace(/^http/, 'ws') + '/tracker/socket' ],
           playlistUrl: 'https://cdn.theoplayer.com/video/elephants-dream/playlist.m3u8'
         }
       })