Author |
Topic |
MaGraham
Senior Member
USA
1297 Posts |
Posted - 31 January 2012 : 11:46:19
|
I'm going to keep checking back here to see when you figure this out. I've been wanting this! :)
Also, I have a secure website and even though I put the s after the http in the YouTube link, I am still getting the security warning. Someone said I needed to put something in the htaccess file. Does anyone know anything about this, or exactly what would eliminate the security warning?
|
"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 31 January 2012 17:55:19 |
|
|
bobby131313
Senior Member
USA
1163 Posts |
|
MaGraham
Senior Member
USA
1297 Posts |
Posted - 02 February 2012 : 00:39:08
|
Copying and pasting this post here from another post since I asked the question above. Some of it will be repetitive with the first post here. SORRY! Hope that's okay! :)
I am Sooooo excited!! I just now figured this out! I did the YouTube Video Mod by lucapan so that our members only have to enter the [youtube][/youtube] in a post to share a YouTube video. Example: [youtube]https://www.youtube.com/watch?v=riqxOjd4alw[/youtube]
Like I said in my initial post here, we kept getting the security warning with the YouTube videos. So, I had checked and rechecked and rechecked posts to see if someone had forgotten to add the s after the http in the YouTube link they were using but I was not finding one single YouTube video that didn't already have the s in the link.
And then it just now dawned on me; all of the actual "codes" to make the videos work aren't in the actual posts but rather in the Snitz Files! Soooo just now, I went into each of the files that had been modified with the YouTube Video Mod and I entered the s in the appropriate places. And, guess what? It's working PERFECT now!!!!! We are no longer getting the security warning!!!
Ohhhhh PRAISE GOD from Whom all blessings flow!!!!!!
Yeah, I'm HAPPY!!!!!
Thank you so much for your precious time with this!!!
Here is his (lucapan) code for the YouTube Video Mod.
YouTube Video Mod Download in zip format
Oh, I was extremely detailed in this post for a reason. I don't think this mod is listed anywhere on the Snitz site. This download is from this member's site. So, I just thought perhaps this post might be of help to someone doing a search for an EASY means of posting a YouTube video on their website! :)
This solved my problem!
|
"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 |
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
Posted - 02 February 2012 : 12:28:01
|
quote: Originally posted by bobby131313
quote: Does it work for you?
Actually, it was in FF, but now it's not.
There is a version that deals with this in a much more flexible way. I think it was started by Marcel and balexandre rounded it up. It includes javascript functions that allow all the flexibility you want in a much simpler way. It allows you, for example, to handle the new shortened links with an easy addition and it has the added benefit of allowing videos from other sources, as flickr and photobucket. |
Snitz 3.4 Readme | Like the support? Support Snitz too |
|
|
webewitch
Starting Member
9 Posts |
Posted - 28 April 2012 : 10:25:22
|
I've added the full screen button and changed to the standard dimensions :
CodeTags(1,1,1) = "[youtube]"
CodeTags(1,2,1) = "[/youtube]"
CodeTags(1,1,2) = "<object width=""640"" height=""390""><param name=""movie"" value=""http://www.youtube.com/v/"
CodeTags(1,2,2) = "&fs=1""></param><param name=""allowFullScreen"" value=""true""></param><param name=""wmode"" value=""transparent""></param>"
CodeTags(1,1,3) = "<embed src=""http://www.youtube.com/v/"
CodeTags(1,2,3) = "&fs=1"" type=""application/x-shockwave-flash""allowfullscreen=""true"" wmode=""transparent"" width=""640"" height=""390""></embed></object>" |
Edited by - webewitch on 28 April 2012 10:26:14 |
|
|
webewitch
Starting Member
9 Posts |
Posted - 30 April 2012 : 14:07:30
|
I've changed the code a wee bit to the now standard size of 640x390 and added the fullscreen button:
CodeTags(1,1,1) = "[youtube]"
CodeTags(1,2,1) = "[/youtube]"
CodeTags(1,1,2) = "<object width=""640"" height=""390""><param name=""movie"" value=""http://www.youtube.com/v/"
CodeTags(1,2,2) = "&fs=1""></param><param name=""allowFullScreen"" value=""true""></param><param name=""wmode"" value=""transparent""></param>"
CodeTags(1,1,3) = "<embed src=""http://www.youtube.com/v/"
CodeTags(1,2,3) = "&fs=1"" type=""application/x-shockwave-flash""allowfullscreen=""true"" wmode=""transparent"" width=""640"" height=""390""></embed></object>"
One slight problem I have is that while most of the videos work on my iPhone a few don't . e.g. this one;
[youtube]http://www.youtube.com/watch?v=o-WZU1X--IM[/youtube]
Can't figure out what's so different about it. It shows fine on my website |
|
|
MaGraham
Senior Member
USA
1297 Posts |
Posted - 02 May 2012 : 05:18:20
|
quote: Originally posted by webewitch
I've changed the code a wee bit to the now standard size of 640x390 and added the fullscreen button:
CodeTags(1,1,1) = "[youtube]"
CodeTags(1,2,1) = "[/youtube]"
CodeTags(1,1,2) = "<object width=""640"" height=""390""><param name=""movie"" value=""http://www.youtube.com/v/"
CodeTags(1,2,2) = "&fs=1""></param><param name=""allowFullScreen"" value=""true""></param><param name=""wmode"" value=""transparent""></param>"
CodeTags(1,1,3) = "<embed src=""http://www.youtube.com/v/"
CodeTags(1,2,3) = "&fs=1"" type=""application/x-shockwave-flash""allowfullscreen=""true"" wmode=""transparent"" width=""640"" height=""390""></embed></object>"
One slight problem I have is that while most of the videos work on my iPhone a few don't . e.g. this one;
[youtube]http://www.youtube.com/watch?v=o-WZU1X--IM[/youtube]
Can't figure out what's so different about it. It shows fine on my website
YEA!! It works! Now we can do FULL SCREEN YouTube videos!!
THANK YOU!!!
|
"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 |
|
|
MaGraham
Senior Member
USA
1297 Posts |
Posted - 02 May 2012 : 05:22:39
|
Can you do a simple add-on so we can do a YouTube playlist by by using the [youtube][/youtube]?
|
"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 |
|
|
Astralis
Senior Member
USA
1218 Posts |
Posted - 07 February 2014 : 03:34:34
|
Is there an updated code for YouTube's IFRAME option, which is the standard option. It should be a piece of cake to code if no one has tried it yet. |
|
|
Maxime
Average Member
France
521 Posts |
Posted - 07 February 2014 : 05:26:42
|
I do not know if there is a code. But I use the mod fashion media that is on www.snitzbitz.com or there youtube, dailymotion, vemo and many others will see. |
Cordially, Maxime
Taxation consists in so plucking the goose to get the most out of feathers with the least possible cries.(Jean-Baptiste Colbert)
|
|
|
MaGraham
Senior Member
USA
1297 Posts |
Posted - 07 February 2014 : 08:06:20
|
quote: Originally posted by Astralis
Is there an updated code for YouTube's IFRAME option, which is the standard option. It should be a piece of cake to code if no one has tried it yet.
This is the only Snitz post with any sort of YouTube code in it I believe, Astralis.
|
"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 |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 07 February 2014 : 12:08:12
|
Here's a stand-alone forum player I made in about 20 minutes for YouTube using their iframe API, so it's not difficult to code. This one keeps the option to limit the video play (under "preview") to 6 seconds or to play the entire video (under "watch").
"tubeframe.asp"
Here are two images for your image folder:
watch.png preview.png |
Edited by - Carefree on 10 February 2014 03:49:34 |
|
|
Astralis
Senior Member
USA
1218 Posts |
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 10 February 2014 : 03:36:24
|
No, it doesn't. It works either way, by video ID or by the entire URL. |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 10 February 2014 : 03:38:34
|
quote:
http://youtu.be/MhNDKZmxRLM?t=21s http://youtu.be/MhNDKZmxRLM
Since these are not really "youtube" addresses but come from a different site altogether, I didn't try to support them. But I could change it to recognize them, as well. OK. Done. See above for code. |
Edited by - Carefree on 10 February 2014 03:54:01 |
|
|
Topic |
|
|
|