Documentation Home »
9bit Studios.com »

Popup Video Shortcode

Displays a pop-up video using the prettyPhoto application

Shortcode:


[popupvideo]

Attributes:


path
Should have the value of the path to a video somewhere either on your server or elsewhere on the Internet. This video will display in a pop-up when it the applicable link is clicked

type
Can have the value thumbnail or text. This determines what type of link will appear. If you specify "text," the link will be displayed as a link of text. You can specify what the text is by setting it in the imagetext parameter.

linktext
This is the both the text that will appear when the user mouses over the image (alt text) and the text that will appear in a link. If you specify "thumbnail" in the "type" parameter, this parameter still sets the text that will appear when the user mouses over the image (alt text).

thumbnail
This is the path to the thumbnail image that will display in a pop-up when it is clicked. This is only applicable if you specify "thumbnail" in the "type" parameter.

Examples:


[popupvideo path="https://www.youtube.com/watch?v=IHBsRT8gzc8" type="link" linktext="Click here to view the video in a window" imagetext="Discovery"]

Back to Shortcodes »