|
|
Joined: Jan 2000
Posts: 5,834 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,834 Likes: 20 |
AboutThis Custom Tag will allow you to syndicate Vimeo Videos. Users will need to copy the "Video URL" or "Video ID" into the video tags (or the editor if enabled). TagsExampleAn example of the embedded video can be found on the VNC Web Services Demo Forums. InstallSave "CustomTag.txt" (with the code provided) and import into the "Custom Tags" feature of the control panel: Control Panel -> Tools & Info -> Content Rebuilder -> Custom Tags -> Import new tags (bottom tab) CustomTag.txt<?php $export_tags = array ( 0 => array ( 'tag' => 'video:vimeo', 'descrip' => 'Vimeo Video', 'prompt' => 'Vimeo URL or ID; eg: http://www.vimeo.com/xxxxxx', 'regex' => '(|.*vimeo.com|.*/)([a-zA-Z0-9_-]{5,20})(|&.*)', 'markup' => '<iframe src="https://player.vimeo.com/video/\\\\2?title=0&byline=0&portrait=0&badge=0" width="400" height="225" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>', ), ); ?>
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 254
Joined: January 2000
|
|
Forums63
Topics37,575
Posts293,931
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|