Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 YouTube forum code
 New Topic  Reply to Topic
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 7

MaGraham
Senior Member

USA
1297 Posts

Posted - 19 August 2017 :  14:50:59  Show Profile  Reply with Quote

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.


"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley

Edited by - MaGraham on 19 August 2017 16:11:02
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 20 August 2017 :  02:25:18  Show Profile  Visit HuwR's Homepage  Reply with Quote
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

MVC .net dev/test site | MVC .net running on Raspberry Pi
Go to Top of Page

emviem
Starting Member

Turkey
7 Posts

Posted - 22 August 2017 :  12:31:08  Show Profile  Reply with Quote
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.

Go to Top of Page

Webbo
Average Member

United Kingdom
982 Posts

Posted - 22 August 2017 :  17:08:35  Show Profile  Visit Webbo's Homepage  Reply with Quote
Chrome should be banned, it's the Devil's work and has a mind of it's own
Go to Top of Page

bobby131313
Senior Member

USA
1163 Posts

Posted - 22 August 2017 :  18:05:20  Show Profile  Visit bobby131313's Homepage  Reply with Quote
Oh if I had to pick one to be banned it would be IE.

Switch the order of your title tags
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 23 August 2017 :  01:38:40  Show Profile  Visit HuwR's Homepage  Reply with Quote
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

MVC .net dev/test site | MVC .net running on Raspberry Pi
Go to Top of Page

emviem
Starting Member

Turkey
7 Posts

Posted - 23 August 2017 :  06:36:54  Show Profile  Reply with Quote
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?
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 23 August 2017 :  07:58:15  Show Profile  Visit HuwR's Homepage  Reply with Quote
you can use code tags here [code][/code]


And yes please post the inc_func_common if that was channged

MVC .net dev/test site | MVC .net running on Raspberry Pi
Go to Top of Page

emviem
Starting Member

Turkey
7 Posts

Posted - 23 August 2017 :  11:14:13  Show Profile  Reply with Quote
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.

Edited by - emviem on 23 August 2017 11:14:53
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 23 August 2017 :  13:21:05  Show Profile  Visit HuwR's Homepage  Reply with Quote
you can email me the files to [removed]

MVC .net dev/test site | MVC .net running on Raspberry Pi
Go to Top of Page

emviem
Starting Member

Turkey
7 Posts

Posted - 24 August 2017 :  12:27:37  Show Profile  Reply with Quote
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! :)
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 24 August 2017 :  13:19:22  Show Profile  Visit HuwR's Homepage  Reply with Quote
glad to be of help

MVC .net dev/test site | MVC .net running on Raspberry Pi
Go to Top of Page
Page: of 7 Previous Topic Topic Next Topic  
Previous Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.1 seconds. Powered By: Snitz Forums 2000 Version 3.4.07