Auto Generate HTML code for Youtube video
-
Hi everyone,
This is what I like to do. I like to make embedded Youtube videos to be responsive.
I found this https://css-tricks.com/NetMag/FluidWidthVideo/Article-FluidWidthVideo.php that explains you can do it by creating a div class in front of the video.
The problem is that if i have to cut and paste the youtube video, i will have to remember to add this div class.
I am thinking, either i create a plug in or there’s already a plug in, where a button on my WYISWYG toolbar. You click on it, you enter the youtube code. The plug in automatically create the <div> tags with the right class around the youtube code.
Possible? ?? Or any one know a WP plugin is already doing this?
Thanks,
Cliff
- The topic ‘Auto Generate HTML code for Youtube video’ is closed to new replies.