Skip to content

Script to batch create iframe html galleys for youtube videos.

Notifications You must be signed in to change notification settings

uclibs/youtube-galleys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Youtube Galleys Script

Input csv with two columns: local_id and youtube_video_id.

id,youtube_id
1,wk_CJXANN8w
2,yNcnn5StHaQ
3,zyLNuAybwLI

Output individual html files with youtube iframe tag.

e.g. 1_video.html

<iframe width="560" height="315" src="https://www.youtube.com/embed/th6fGSsloH4" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

Run the script

$ ruby youtube_galleys.rb file.csv

About

Script to batch create iframe html galleys for youtube videos.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages