Previous Thread
Next Thread
Print Thread
Rate Thread
Yahoo Video - Custom Tag #321203
09/22/2015 12:30 AM
09/22/2015 12:30 AM
Joined: Jan 2000
Posts: 5,941
Portland, OR, USA
Gizmo Online tapedshut OP

UBB.Dev / UBB.Wiki Owner
Time Lord
Gizmo  Online Tapedshut OP

UBB.Dev / UBB.Wiki Owner
Time Lord

Joined: Jan 2000
Posts: 5,941
Portland, OR, USA
About
This Custom Tag will allow you to syndicate Yahoo Videos. Users will need to copy the "Syndication URL" (Share) into the video tags (or the editor if enabled).

Tags
Code
[video:yahoo][/video]


Example
An example of the embedded video can be found on the VNC Web Services Demo Forums.

Install
Save "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
Code
<?php
$export_tags = array (
  0 => 
  array (
    'tag' => 'video:yahoo',
    'descrip' => 'Yahoo Video',
    'prompt' => 'Enter the Yahoo Syndication Link; eg: https://screen.yahoo.com/xxxx.html',
    'regex' => '(.*yahoo.com)/(.+?).html',
    'markup' => '<iframe width="400" height="225" scrolling="no" frameborder="0" src="\\\\1/\\\\2.html?format=embed" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true" allowtransparency="true"></iframe>',
  ),
);
?>


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, UBB.SitemapsJames Corthell
Sponsored Links

Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with, and recommend, the following Web Hosts:
· Stable Host
· Blue Host
· Interserver.net
Visit us on Facebook
Member Spotlight
Posts: 70
Joined: January 2007
Show All Member Profiles 
Forum Statistics
Forums64
Topics37,453
Posts293,495
Members13,800
Most Online1,498
Mar 17th, 2017
Top Posters(All Time)
AllenAyres 25,587
JoshPet 11,330
Rick 8,373
LK 7,396
Lord Dexter 6,503
Gizmo 5,941
Greg Hard 5,533
Top Posters(30 Days)
isaac 8
Gizmo 3
Today's Statistics
Currently Online 846
Topics Created 0
Posts Made 0
Users Online 2
Birthdays 21
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2018 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 7.6.3
(Snapshot build 20180915.dev)
Page Time: 0.073s Queries: 14 (0.017s) Memory: 3.2318 MB (Peak: 3.4850 MB) Zlib enabled. Server Time: 2018-09-21 13:31:45 UTC