Author |
Topic |
|
leatherlips
Senior Member
USA
1838 Posts |
|
MarcelG
Retired Support Moderator
Netherlands
2625 Posts |
Posted - 23 June 2008 : 01:59:31
|
Leatherlips, I have the function for DailyMotion, plus some others available here, starting at line 2008 : http://oxle.com/source.asp?page=inc_func_common.asp There are two functions you need: - the function FixUrls(fString) - the function ReplaceMediaTags(fString)
Also, need a small change in the FormatStr function at the beginning:
fString = ReplaceCodeTags(fString)
'replace old tags with new video tag:
fString = replace(fString,"[gvid]","[video]")
fString = replace(fString,"[/gvid]","[/video]")
fString = replace(fString,"[dm]","[video]")
fString = replace(fString,"[/dm]","[/video]")
fString = replace(fString,"[tube]","[video]")
fString = replace(fString,"[/tube]","[/video]")
'now interpret the new media tags
fString = ReplaceMediaTags(fString) And, one addition at the end of the FormastStr function
fString = FixUrls(fString)
FormatStr = fString
on Error goto 0
end function
One line added to the ChkUrls function:
(UCase(Right(strArray(Counter-1), 7)) <> "[VIDEO]") and _ Oh, and a new js file: http://oxle.com/video.js It's not polished, but it's all there.
How to post a video? -> use the [video][/video] tags, and inbetween them simply but the embedding code found at YouTube, DailyMotion, GoogleVideo or MySpace (=untested!). Enjoy.< |
portfolio - linkshrinker - oxle - twitter |
Edited by - MarcelG on 23 June 2008 02:00:39 |
|
|
leatherlips
Senior Member
USA
1838 Posts |
|
balexandre
Junior Member
Denmark
418 Posts |
Posted - 23 June 2008 : 11:44:07
|
it's the same, but using only one tag [ video ] [ /video ] instead all the ones I use...
but the source (the "guy" that did the code and had all the work) is the same --> MarcelG
eheh < |
Bruno Alexandre (Strøby, DANMARK)
"a Portuguese in Danmark"
|
|
|
leatherlips
Senior Member
USA
1838 Posts |
|
MarcelG
Retired Support Moderator
Netherlands
2625 Posts |
Posted - 23 June 2008 : 14:04:39
|
quote: Originally posted by leatherlips
Can the instructions be rewritten to have the new "all in one" [video] tag?
Bruno, that's were you come in. In case of questions, just shout.
BTW ; the [video][/video] tags do not cover the Windows Media Player, Quick Time tag etc. It only covers the previously known tags [tube] for youtube, [gvid] for google video and [dm] for dailymotion (but that one wasn't in Bruno's version I think...) And, additionally you can now simply put the embed code provided by those videosites inbetween the tags, instead of using the permalinks.< |
portfolio - linkshrinker - oxle - twitter |
Edited by - MarcelG on 23 June 2008 14:07:16 |
|
|
balexandre
Junior Member
Denmark
418 Posts |
Posted - 24 June 2008 : 09:39:29
|
but leatherlips, what is wrong with the current MOD?
can't you use it like it is?< |
Bruno Alexandre (Strøby, DANMARK)
"a Portuguese in Danmark"
|
|
|
leatherlips
Senior Member
USA
1838 Posts |
|
balexandre
Junior Member
Denmark
418 Posts |
Posted - 26 June 2008 : 10:08:43
|
it's not All-in-One
it is more like 4-in-one plus all the rest < |
Bruno Alexandre (Strøby, DANMARK)
"a Portuguese in Danmark"
|
|
|
radiodelicate
New Member
Sweden
53 Posts |
Posted - 10 July 2008 : 06:50:04
|
is it possible to create a profile field so that users can have a youtube video on their profile pages?< |
|
|
leatherlips
Senior Member
USA
1838 Posts |
|
leatherlips
Senior Member
USA
1838 Posts |
|
|
Topic |
|