YouTube video launch instructions

Материал из SmartPlayer
Версия от 22:26, 23 ноября 2021; Admin (обсуждение | вклад)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)
Другие языки:

Copy link

  • Find the required video
  • Click the "share" icon

  • Click "embed"

  1. Next, we enter the code for embedding the video, copy the link starting from https and ending before the first quotes.

See example. <iframe width = "560" height = "315" src = "https://www.youtube.com/embed/LXb3EKWsInQ" frameborder = "0" allow = "accelerometer; autoplay; encrypted-media; gyroscope; picture-in -picture "allowfullscreen> </iframe>

Need value https://www.youtube.com/embed/LXb3EKWsInQ

Link setup

To embed a link, you need to add playback parameters to it, they are necessary for autostart, time measured in seconds from the beginning of the video, and the end, etc. Full list of values ​​at link.

Example:

  1. Default value (4K 60fps) https://www.youtube.com/embed/LXb3EKWsInQ
  2. Add autostart (4K 60fps) https://www.youtube.com/embed/LXb3EKWsInQ?autoplay=1
  3. Change the start time of the video from 30 seconds (4K 60fps) https://www.youtube.com/embed/LXb3EKWsInQ?autoplay=1&startSeconds=30
  4. Change the start time of the video from 30 seconds (4K 60fps) https://www.youtube.com/embed/LXb3EKWsInQ?autoplay=1&startSeconds=30
  5. We measure the end time of the video from 60 seconds (4K 60fps) https://www.youtube.com/embed/LXb3EKWsInQ?autoplay=1&start=30&end=60
  6. RBC live stream: https://www.youtube.com/embed/CK71BiIOFmE?autoplay=1
  7. Nature (1080p): https://www.youtube.com/embed/DQuhA5ZCV9M?autoplay=1&loop=1&playlist=DQuhA5ZCV9M

Do not run Ultra HD 4K (3840 × 2160) video on a device that does not physically support Ultra HD 4K (3840 × 2160) resolution, the stream picture will freeze on the device.

When playing videos from YouTube, online playback occurs, and therefore a wired connection via the RJ45 connector of the device to the global Internet is recommended.

All available parameters YouTube