Welcome Guest [Log In] [Register]
We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Multiquote (on) Multiquote (off)
Add Reply
zeta you tube
Topic Started: Mar 15 2009, 02:16 PM (456 Views)
tesser (S)
Member
[ *  * ]
Is there a code for a youtube button for a zeta board ?

i have spent hours looking for one

i had a invision board that had a youtube button

i take it the code from that wont work on zeta ?




http://s1.zetaboards.com/mixed_beats/index/
Offline Profile Quote Post Goto Top
 
Deleted User
Deleted User

reu_tiffany
Mar 15 2009, 02:16 PM
Is there a code for a youtube button for a zeta board ?

i have spent hours looking for one

i had a invision board that had a youtube button

i take it the code from that wont work on zeta ?




http://s1.zetaboards.com/mixed_beats/index/
See this from the code Index http://if.invisionfree.com/topic/5018126/7/#new
Quote Post Goto Top
 
tesser (S)
Member
[ *  * ]
ty i got my code

[flash=250,210] [/flash] will this show as a button

any chance you can tell me where to put it ? im used to invision boards not zeta
Edited by tesser, Mar 15 2009, 08:49 PM.
Offline Profile Quote Post Goto Top
 
obxbiker
Member Avatar
USMCR
[ *  *  *  * ]
Almost all codes (unless stated by the maker differently) will work in these two places:
''Below the Board''
''Above the Copyright''

both are located in the boards templete in your ACP on the left side bar.

Themes
Themes
Board Template
Offline Profile Quote Post Goto Top
 
tesser (S)
Member
[ *  * ]
i did that and it just showed this on the main page [flash=250,210][/flash] :(



Offline Profile Quote Post Goto Top
 
obxbiker
Member Avatar
USMCR
[ *  *  *  * ]
reu_tiffany
Mar 15 2009, 09:19 PM
i did that and it just showed this on the main page [flash=250,210][/flash] :(



That is not the code.

That is what you use in a post to use youtube.


This is the code to add just the [FLASH] button:

Code:
 

<script type="text/javascript">
//created by Holysavior of ZBCode and Javascriptin.com

if(location.href.match(/\/post\//i) ){
$("#c_bbcode").append("<button type='button' id='flash' onclick='workflash()'>Flash</button>")
$("#flash").insertBefore("#c_bbcode select");

function workflash() {
var height = prompt("Height of the File?");
var width = prompt("Width of the File?");
var url = prompt("URL of the File?");

document.forms['posting'].post.value="[flash="+width+","+height+"]"+url+"[/flash]"
}
}
</script>


TOPIC HERE IN THE CODE INDEX: http://support.zetaboards.com/topic/571344/1/
Edited by obxbiker, Mar 15 2009, 09:24 PM.
Offline Profile Quote Post Goto Top
 
tesser (S)
Member
[ *  * ]
sorry i thought it looked funny when i posted it here is my code

xbb_utube() {var x = document.getElementsByTagName('div');for(i=0;i<x.length;i++) {if(x.id == 'embed_ut_video') {var v_id = x.innerHTML.split(/\?v=/)[1].split('&')[0];x.innerHTML = '<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/'+v_id+'&fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/'+v_id+'&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object>';}}}ubb_tag("YouTube","utube","<div id='embed_ut_video'><% INNER %></div>",0,"Embeds a YouTube video into the post");xbb_utube();
Offline Profile Quote Post Goto Top
 
obxbiker
Member Avatar
USMCR
[ *  *  *  * ]
reu_tiffany
Mar 15 2009, 09:23 PM
sorry i thought it looked funny when i posted it here is my code

xbb_utube() {var x = document.getElementsByTagName('div');for(i=0;i<x.length;i++) {if(x.id == 'embed_ut_video') {var v_id = x.innerHTML.split(/\?v=/)[1].split('&')[0];x.innerHTML = '<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/'+v_id+'&fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/'+v_id+'&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object>';}}}ubb_tag("YouTube","utube","<div id='embed_ut_video'><% INNER %></div>",0,"Embeds a YouTube video into the post");xbb_utube();
If you are using that one (also see my post above your last one) re-read the dirrections as you have not added the beginning ''script'' and ending ''script'' tags.


Offline Profile Quote Post Goto Top
 
tesser (S)
Member
[ *  * ]
Had a good play with this and still no go
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · ZetaBoards Support · Next Topic »
Add Reply