 |
 |
 |
 |
#315408 - 08/24/07 11:40 PM
Re: [7.x] Gizmo's Embedding BBCode
[Re: Gizmo]
|
Wizard
Registered: 01/10/00
Posts: 5134
Loc: Portland, OR, USA
|
Just for mark: /* Start Gizmo's Video Embedding Options */
if (action == "break") {
var thisVideo = prompt(enterVideo, "");
if (thisVideo == null){return;}
insertAtCaret(document.replier.Body, "\n[break]" + thisVideo + "[/break]\n" );
document.replier.texteditor.focus();
showHideElement('vembed', 'hide');
return;
}
if (action == "googlevideo") {
var thisVideo = prompt(enterVideo, "");
if (thisVideo == null){return;}
insertAtCaret(document.replier.Body, "\n[googlevideo]" + thisVideo + "[/googlevideo]\n" );
document.replier.texteditor.focus();
showHideElement('vembed', 'hide');
return;
}
if (action == "liveleak") {
var thisVideo = prompt(enterVideo, "");
if (thisVideo == null){return;}
insertAtCaret(document.replier.Body, "\n[liveleak]" + thisVideo + "[/liveleak]\n" );
document.replier.texteditor.focus();
showHideElement('vembed', 'hide');
return;
}
if (action == "loowavideo") {
var thisVideo = prompt(enterVideo, "");
if (thisVideo == null){return;}
insertAtCaret(document.replier.Body, "\n[loowavideo]" + thisVideo + "[/loowavideo]\n" );
document.replier.texteditor.focus();
showHideElement('vembed', 'hide');
return;
}
if (action == "myspacevideo") {
var thisVideo = prompt(enterVideo, "");
if (thisVideo == null){return;}
insertAtCaret(document.replier.Body, "\n[myspacevideo]" + thisVideo + "[/myspacevideo]\n" );
document.replier.texteditor.focus();
showHideElement('vembed', 'hide');
return;
}
if (action == "revver") {
var thisVideo = prompt(enterVideo, "");
if (thisVideo == null){return;}
insertAtCaret(document.replier.Body, "\n[revver]" + thisVideo + "[/revver]\n" );
document.replier.texteditor.focus();
showHideElement('vembed', 'hide');
return;
}
if (action == "sdeluxe") {
var thisVideo = prompt(enterVideo, "");
if (thisVideo == null){return;}
insertAtCaret(document.replier.Body, "\n[sdeluxe]" + thisVideo + "[/sdeluxe]\n" );
document.replier.texteditor.focus();
showHideElement('vembed', 'hide');
return;
}
if (action == "yahoovideo") {
var thisVideo = prompt(enterVideo, "");
if (thisVideo == null){return;}
insertAtCaret(document.replier.Body, "\n[yahoovideo]" + thisVideo + "[/yahoovideo]\n" );
document.replier.texteditor.focus();
showHideElement('vembed', 'hide');
return;
}
if (action == "youtube") {
var thisVideo = prompt(enterVideo, "");
if (thisVideo == null){return;}
insertAtCaret(document.replier.Body, "\n[youtube]" + thisVideo + "[/youtube]\n" );
document.replier.texteditor.focus();
showHideElement('vembed', 'hide');
return;
}
/* End Gizmo's Video Embedding Options */Simply replace the section in the js file and you'll no longer be prompted for a description.
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#316042 - 10/18/07 05:57 PM
Re: [7.x] Gizmo's Embedding BBCode
[Re: sirdude]
|
Power User
Registered: 11/15/03
Posts: 85
Loc: UK
|
Does anyone have a .FLV player For UBB ? let me explain. With the numerous sites out there that will convert your own movies to *.flv files like what You Tube Does. Many of my members are using these site to compress there video's into .flv files and now are asking if our own forums can show them, if there uploaded. Summary I'm after a .FLV player to work like you tube and such. So we can show video's with the embedded screen. Any Help or Advice Appreciated 
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#316045 - 10/19/07 06:35 AM
Re: [7.x] Gizmo's Embedding BBCode
[Re: Mark_S]
|
Power User
Registered: 11/15/03
Posts: 85
Loc: UK
|
Seems the first one is a bit buggy. Ca Ching flew over my head lol Got this one to work with out too much difficulty http://www.jeroenwijering.com/?item=JW_FLV_PlayerReading this http://www.jeroenwijering.com/extras/readme.html<Edit> Wow just found a wizard to make it easy http://www.jeroenwijering.com/extras/wizard.htmlFull Reply HTML Selected And pasting in the Embedded Code Changing the path to the Files i uploaded And the File on my server i want to play. Its clunky but works, not as simple a Gizmo's Embedded stuff but for keeping a archive it should do me fine  But what do you want for free lol Ive probably gone round the world to do something simple if you find a easier way or not as clunky please share 
Edited by Mark_S (10/19/07 06:55 AM) Edit Reason: added wizard link
|
|
Top
|
|
|
|
 |
 |
 |
 |
|
|