Popup for Youtube and Vimeo

Popup for Youtube and Vimeo

This Wordpress shortcode plugin helps you to add Youtube or Vimeo videos on an HTML link. When that link is clicked then the given video will be opened in a popup modal.

Requirements

  • Tested with Wordpress version 3.5 to the latest version 4.9.4

How to use it

Youtube

[vk-videopopup src="youtube" id="EqPtz5qN7HM" text="Play hotel California"]

Vimeo

[vk-videopopup src="vimeo" id="187625966" text="Click to Play Pharrell Williams happy"]

text attribute is not mandatory and other two attributes must be specified otherwise popup will not work.

for the source (src): you have only 2 properties: youtube or Vimeo

for id: you should get the video id from youtube or video.

Demo

You can see the plugin in action on my website tech2vel

Download?

You can download the code from github repo.

Contributing

If you'd like to contribute, feel free to tackle a feature or fix a bug and when you're ready, send a pull request on github. If you'd like to get more involved than that, please e-mail me at [email protected] or [email protected].

要查看或添加评论,请登录

Velmurugan Kuberan的更多文章

  • VIM tips & tricks

    VIM tips & tricks

    Vim has two basic modes. One is insert mode, in which you write text as if in normal text editor.

社区洞察

其他会员也浏览了