Dvc.org: embed the video on the 'doc' page itself

Created on 18 May 2019  路  2Comments  路  Source: iterative/dvc.org

Stumbling upon this page https://dvc.org/doc/understanding-dvc/resources.
dvc

The links look like a static image. And, also upon clicking on the image, we are redirecting to YouTube page.

We can embed the video on the DVC page itself, rather than opening a new target.
It will impact user browsing experience.

doc-content enhancement good first issue help wanted

Most helpful comment

I will suggest:

  • Position the video in the middle of the page. Something like,
    <iframe width="560" height="315" src="https://www.youtube.com/embed/4h6I9_xeYA4" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

  • If we embed the video from YouTube itself, no need to add titles. Still, if anyone wants to add title, it must be in bold fonts.

  • And most importantly, if any links from outside the website, please set _target=blank.

All 2 comments

@ryokugyu sounds good! I would also improve the formatting a little bit - use table for videos? or move titles above videos to improve readability.

I will suggest:

  • Position the video in the middle of the page. Something like,
    <iframe width="560" height="315" src="https://www.youtube.com/embed/4h6I9_xeYA4" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

  • If we embed the video from YouTube itself, no need to add titles. Still, if anyone wants to add title, it must be in bold fonts.

  • And most importantly, if any links from outside the website, please set _target=blank.

Was this page helpful?
0 / 5 - 0 ratings