Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 YouTube forum code

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!
Before posting, make sure you have read this topic!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
lucapan Posted - 29 August 2007 : 11:05:10
I wrote a little mod to use a brand new youtube forum code, like:

[youtube]http://www.youtube.com/watch?v=gJmX1z1NY2c[/youtube]

Here is the code:
http://www.lucapanella.com/downloads/SnitzYouTubeForumCodeMod.zip
<
15   L A T E S T    R E P L I E S    (Newest First)
HuwR Posted - 24 August 2017 : 13:19:22
glad to be of help
emviem Posted - 24 August 2017 : 12:27:37
The fix that HuwR emailed to me after examining my inc_func_common file, it works. Now the YT embeds in my forum are fullscreen enabled in chrome, too, and I'm very happy for that. Also, I lately noticed that before the fix, iexplorer 11 didn't even show the YT video player but after the fix, it also shows them and with fullscreen enabled just like in firefox and chrome. Thank you very much for your time and effort, HuwR! This made me happy! :)
HuwR Posted - 23 August 2017 : 13:21:05
you can email me the files to [removed]
emviem Posted - 23 August 2017 : 11:14:13
HuwR, I tried to post the codes between the code tags you mentioned but they didn't seem to work. Codes (file contents) just showed up as message text. And some of the code was lacking. I had to delete the post.
HuwR Posted - 23 August 2017 : 07:58:15
you can use code tags here [code][/code]


And yes please post the inc_func_common if that was channged
emviem Posted - 23 August 2017 : 06:36:54
quote:
Originally posted by HuwR

quote:
Originally posted by emviem
An example would be the youtube embeds in this page: https://goo.gl/5EAqYC In my computer, they run smoothly with fullscreen enabled in firefox but not in chrome, which I mostly prefer.



Ok, the issue with them not displaying fullscreen in chrome is because your videos are displaying in object/embed tags which chrome no longer supports because it uses flash. you need to replace the code you have so that it uses iframes instead.

It is probably in the inc_code.asp file (IIRC) could you post a txt copy of yours and I will take a look

I will, HuwR, thanks. And which tags should I use to paste codes here (to show codes inside a code box)? I checked some help/FAQ pages here but couldn't locate the information about that.

And should I also post my "inc_func_common.asp" file, in which lucapan's youtube codes are contained?
HuwR Posted - 23 August 2017 : 01:38:40
quote:
Originally posted by emviem
An example would be the youtube embeds in this page: https://goo.gl/5EAqYC In my computer, they run smoothly with fullscreen enabled in firefox but not in chrome, which I mostly prefer.





Ok, the issue with them not displaying fullscreen in chrome is because your videos are displaying in object/embed tags which chrome no longer supports because it uses flash. you need to replace the code you have so that it uses iframes instead.

It is probably in the inc_code.asp file (IIRC) could you post a txt copy of yours and I will take a look
bobby131313 Posted - 22 August 2017 : 18:05:20
Oh if I had to pick one to be banned it would be IE.
Webbo Posted - 22 August 2017 : 17:08:35
Chrome should be banned, it's the Devil's work and has a mind of it's own
emviem Posted - 22 August 2017 : 12:31:08
quote:
Originally posted by MaGraham


I am using Carefree's Modular on my site, emviem. It has the option to allow iframes for each member or I can choose specific members. I've only allowed iframes for myself, so those codes will only work in posts/replies I make. That's the reason I said it would be great if the iframe codes could be incorporated into the video mods.

Does Carefree's Modular refer to the "tubeframe.asp"? I copied the code under that filename into the wwwroot folder but it didn't enable me to use youtube iframes codes to run at all. I'm almost completely ignorant about coding and I'm probably missing a very simple point.

quote:
Originally posted by HuwR

emviem, can you provide an example that doesn't work

this embedded video works in IE/Firefox and chrome using a very basic iframe setup

https://www.reddick.co.uk/Mvc/Topic/Posts/1085?pagenum=1&archived=0&terms=video

An example would be the youtube embeds in this page: https://goo.gl/5EAqYC In my computer, they run smoothly with fullscreen enabled in firefox but not in chrome, which I mostly prefer.

HuwR Posted - 20 August 2017 : 02:25:18
emviem, can you provide an example that doesn't work

this embedded video works in IE/Firefox and chrome using a very basic iframe setup

https://www.reddick.co.uk/Mvc/Topic/Posts/1085?pagenum=1&archived=0&terms=video
MaGraham Posted - 19 August 2017 : 14:50:59

I am using Carefree's Modular on my site, emviem. It has the option to allow iframes for each member or I can choose specific members. I've only allowed iframes for myself, so those codes will only work in posts/replies I make. That's the reason I said it would be great if the iframe codes could be incorporated into the video mods.

emviem Posted - 15 August 2017 : 05:00:07
Hi guys. I also use lucapan's codes for displaying youtube videos and I'm thankful for that. Recently I noticed the modification for enabling fullscreen. I did it but I see that although it is successful in firefox, the fullscreen button is still greyed out / disabled in google chrome for embedded videos in our snitz forum. I don't know the result in other browsers. I read that this might be related to the html5/flash issue but my trials including installing the latest version of flash and using an extension to force the browser to opt for flash didn't change the result. So, do you know if this is a specific glitch about the chrome and is there a solution for that?

quote:
Originally posted by MaGraham


These codes below (for YouTube and Vimeo) work on my site using the [iframe][/iframe] codes, and they allow full screen.

[iframe]https://www.youtube.com/embed/r5L6QlAH3L4?color=ffffff" width="640" height="360" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen[/iframe]

[iframe]https://player.vimeo.com/video/214844648?color=ffffff" width="640" height="360" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen[/iframe]

If those codes, and possibly more for other video sites, could be incorporated into the video mods, oh how wonderful that would be! Just sayin'.
Hi MaGraham, I tried those "iframe" codes in my forum but they didn't work. Do you use a specific mod with which those codes work? As far as I can see, the "OnlineVideos MOD" in the snitzbit site is the only (?) mod for dislaying online videos in a snitz forum including from youtube, vimeo, etc. Is this the mod that you run the iframe codes with? I also tried the standalone youtube display codes ("tubeframe.asp") by Carefree but I couldn't make it work at all either with iframe codes or with [youtube] type codes. Maybe I should have cleared the lucapan's youtube codes first?
MaGraham Posted - 27 April 2017 : 14:00:38

These codes below (for YouTube and Vimeo) work on my site using the [iframe][/iframe] codes, and they allow full screen.

[iframe]https://www.youtube.com/embed/r5L6QlAH3L4?color=ffffff" width="640" height="360" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen[/iframe]

[iframe]https://player.vimeo.com/video/214844648?color=ffffff" width="640" height="360" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen[/iframe]

If those codes, and possibly more for other video sites, could be incorporated into the video mods, oh how wonderful that would be! Just sayin'.

HuwR Posted - 21 April 2017 : 02:31:03
IIRC the url for the iframe source is like https://www.youtube.com/embed/XXXXXXX

Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.04 seconds. Powered By: Snitz Forums 2000 Version 3.4.07