Description
This extension will allow you to play YouTube videos on stream.
Import Code
It’s Important to know if you have Link Protection set up on your channel, as the way these are made there is 2 ways to do it, The Link Protected way and the one with no Link Protection.
Link Protection is if you allow links to be posted into your chat or not, i know they are ways to accept certain links i.e Twitch Clip links but for the base of this its one or the other.
Import for Link Protection
TlM0RR+LCAAAAAAABADFl1tv2kgUx99X2u9g8bSrrdOZ8b1SVBHSEBNCEki4LfswNxuXsc36giFVv/uObdIEQrZNVSlICHzOzDn/8xv7jOfL778pSmPFkzSIo8YHBb6rDBEOubxqNOpLTDPpTqXl7/JaUb7UP9IVsHKcyXTNNqGtYs6hqmPdVAm0bVUzKQFYBxBrWh2rmvRvzvMyfpQL8WjlESaCl/GyJOeP9gcxkzjPcsKVq0gZ0ITzSPmjG0QL5TqJM04zzv58ksJP4nz5WEJlw6LAm7Sfl4V6WKRPciQ4YnHYrOp87qVxRPMk4VH23PeMzQ6fnQKuBd4MA8ZjZVf3o8RqOOMpTYLlVkpjz7vgfNkUwYo/k1IXwj0uhVK+p6hytj7MZqNAVlqks9llQJM4jb3sqPfpdjY7S6TKIk4Ws9lKPwJHGtCgM5uFKY0TEZAjJkTjabh/dvOSTcZbMavqZOPekoTUv9PEPWsPs6sCXJzeLAs26qR4dOlP0HpOtUv/Bp64g5EhbYaQfuv0JvbdVtOn58OAtMVnt91ZEVT4/fFcTLQhmA785cMYLmOWv/X3BE3GrozrLKaDpuO2zzZTrUfcqDNnQOQyHnAFyIdt55add0pt8cVt2msFD/ObPgvPNu557/NUanFPgT8ZdyIK04CiniDhXTAeGHcE9gANRT7d+MurA/kpciANe3vzt7bv5JcMgNvuC9I+M+T/go1v/OvBySlBBpqOO6Ar+ivJClzeu/FDbDI602/bw3yq9eNn8QeLbzyrb1vkrHWymI7Wc14x2s11ETTXl6fN4lBdci1yDHorMm5KTc3YDeeAnZ/cXwX2imlM60ZixcZ9OAnvcrkGWRcNs0k4XHQ3rn+xOflMUF+4rdR3g+lcjlvRttRwC9ZusKfxU+9m0D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bWGA1ntg3qsz2r/Lh31O7W8jv6EGLP7lHEKctvVUvOQEDnIHUiM/xQvp1fxH2m5/qGHFC2r83Va1xWQmzK+Og68nwF0P2o+ZoqEJZQQQxEwq6M5l58tEexMQ3BMY7pTn6t5oWNN1OF4Zw4L7g9ouA/wINovn95eawjAzrGvROXFnDOeS9tkIXUjuJz6Wrby6vzlvfb4st+ZgOF22/6rvR6ly/m7+aWWSJOilj01rWMvanI/Cywjx91J6z1hOh0flZiSpyHrQ2nmM/4Vta8G1XhVv6Xs1e++5ldhtjUcK/vhWF+WI9sDGMBe5y9me3iYVmyreZayA77Xiv2ac4KHNC44PfozDhquxr+uhekqmWUMwNlW22KpwH+uiTS6qkk1z27fEmXRXGog36usL8HooPoV32/WCox7diXHcz7D/ZYsBkXPl9i+uYdf7UxPj6yBnll53e+La1jkJOZ9plujAbAfso4zkcaA7SUwmavsmfUK25vT5bTQae5AwEOlkE2e7pxarP7izmY9oXgsT9fKti429pG+1KK3+1ZxkDCm+E7LLAkfGEdPx7nkH2dexOq1w0vt2ZynF/hrXN2Np/OePFl54ydzOTv60A3I5vXKpaxOM5n10TObSfSx9zoPme9Zho1Fna8iB10cBLi3fTENxnW9NtV4PeQqEhL1bCEqbG6M6Zuxetp25bLZ0Q/YO2CQwEx9M+6TqB0Wog5OvnSXHqDB6sd6lsy3x7mfsndCqWcx3JWxP5hX/aNRnNfY6QLk6fQ1Vt5XHvi79vYNQoJ8N3DoO69fTNhbfh7D8PqTozw5FEcbQYAWasoSDyDBfIOADa8IpMkjKEFEIKsxQj96tFHy39uHm/oR4nuONo2Lo83p9vzKP34+DfMAxUHjQoV8SmEQEXyhLZWFo3Jl+T15Un79D8NdrdzUDgAA
Installation
Firstly you will need a blank browser source that this code can change into the video when called upon.
When you import you will receive one action. This will have things you will need to edit in order to get this set up.
scene
This is where you tell Streamer.bot what scene the browser source is on.
source
This is where you tell Streamer.bot what source the browser source is.
maxLength
This is where you tell Streamer.bot how long of the video you wish to play
It’s important when entering the Scene and Source you type them exactly how they are on OBS including the case.
Configuration
If using CPR’s I would recommend putting some of this info into the CPR prompt to help your viewers.
If you are using the version that has no link protection then the user can just copy and paste the link into the channel point redeem as so.
.
If you are using the link protected version its a tiny bit more complicated and it requires a tiny bit of edit work. This is why I would put something along the lines of this in my Prompt
Links are not allowed so to get this to work you will need the Video code, and if you wish to start at a certain time that number too. So for this video 'https://www.youtube.com/watch?v=7MkzsxgfVgg' starting 25 seconds in you would type 7MkzsxgfVgg?start=25
As I say it is a tiny bit more but it allows you to do it whilst still having some form of link protection.