YTobject(yturl;w;align)
Rate this function: Average rating: 3.1 (16 votes) Discuss this Custom Function
Oliver Reid, First Growth Management LLC
http://firstgm.com
Easily insert YouTube videos in Web Viewers and in text fields that are used to drive dynamic web sites
Sample Input:
| <object width="560" height="340"><param name="movie" value="http://www.youtube.com/v/De4OucJuC3o&hl=en_US&fs=1&"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/De4OucJuC3o&hl=en_US&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed></object> |
|
Sample Output:
| data:text/html,<object width="600" height="500" align=right style="padding:0px 1px 3px 10px"><param name="movie" value="http://www.youtube.com/v/De4OucJuC3o&hl=en_US&fs=1&"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/De4OucJuC3o&hl=en_US&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="600" height="500" align=right style="padding:0px 1px 3px 10px"></embed></object> |
|
Description:
See comments in function definition.
The function automatically sets padding and border values so that if inserted into a text field which is delivered to a dynamic web page the Video player is appropriately sized and placed with text.
Thus an interface on the FM side can easily insert videos in web news stories, etc.
Note: these functions are not guaranteed
or supported by BrianDunning.com. Please contact the individual
developer with any questions or problems.
This is my Custom Function and I want to
edit it
Discuss:Make a comment about this Custom Function (please try to keep it brief & to the point). Anyone can post:
|
Newest Custom Functions:
| 1. |
phpArrayValue ( array ; key ; pos ) |
| |
(Fri, Jan 27, 1:49pm) |
| 2. |
solfm_timeToMinutes (theTime;roundSec) |
| |
(Fri, Jan 20, 6:26am) |
| 3. |
filterLines(filterField;filterValue;Result) |
| |
(Sat, Jan 14, 2:20pm) |
| 4. |
getMaxValue ( theList ) |
| |
(Thu, Jan 12, 1:06pm) |
| 5. |
MiddleWordsIncPunct ( text ; startingWord ; numberOfWords ) |
| |
(Sat, Jan 07, 9:16am) |
| 6. |
WindowInfo |
| |
(Fri, Jan 06, 12:39pm) |
| 7. |
CenterWindow in Window vert horiz (demension) |
| |
(Fri, Jan 06, 12:25pm) |
| 8. |
UTF8_to_TXT ( Text , Platform ) |
| |
(Wed, Dec 28, 10:44pm) |
 |
|
Has anybody done this for private videos stored on Vimeo? Those urls don't seem to work as well in FileMaker web viewers.
Bob Harlow, Greenbrae, CA
October 19, 2011 5:42pm