News:

Wondering if this will always be free?  See why free is better.

Main Menu

Search results for: Embed https

Search order
#1
Quote from: Jade Elizabeth on March 30, 2014, 09:27:23 PM
So youtube is not working anymore. Everything has HTTPS now.

How many of the http:// do I change to https://?

// Biggest most popular sites first for speed purposes
array(
'id' => 'ytb',
'title' => 'YouTube',
'website' => 'http://www.youtube.com',
'type' => 'pop',
'pattern' => 'http://(?:video\.google\.(?:com|com?\.[a-z]{2}|[a-z]{2})/[^"]*?)?(?:(?:www|[a-z]{2})\.)?youtu(?:be\.com/[^"#[]*?(?:[&/?;]|&|%[23]F)(?:video_id=|v(?:/|=|%3D|%2F))|\.be/)([\w-]{11})',
'movie' => 'http://www.youtube.com/v/$2&rel=0&fs=1',
'size' => array(
'normal' => array(480, 385),
'ws' => array(640, 385),
),
'ui-height' => 25,
// http://www.youtube.com/watch?v=-X8mD76W4F0 or v=MxGofCFHYCc (all hail Jochen Hippel!)
// On Google - http://video.google.co.uk/url?docid=-8978185459530152475&ev=v&len=91&srcurl=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dg2cT5J0gxeU
// http://www.youtube.com/watch?v=M29NUeffJNA - Example of "Embedding Disabled By Request"
'fix-html-pattern' => '<object [^>]*><param name="movie" value="http://www\.youtube\.com/v/([\w-]{11})(?:&[^"]*)?">.*?</object>',
'fix-html-url' => 'http://www.youtube.com/watch?v=$1',
'lookup-url' => 'http://(?:video\.google\.(?:com|com?\.[a-z]{2}|[a-z]{2})/[^"]*?)?(?:(?:www|[a-z]{2})\.)?youtube\.com/[^"#[]*?(?:[&/?;]|&amp;|%[23]F)(?:video_id=|v(?:/|=|%3D|%2F))([\w-]{11})[^]#[]*',
'lookup-actual-url' => 'http://gdata.youtube.com/feeds/api/videos/$1?v=2',
'lookup-final-url' => 'http://www.youtube.com/watch?v=$1',
'lookup-title' => true,
'lookup-title-skip' => true,
'lookup-pattern' => array(
'id' => '<id>.*?:([\w-]+)</id>',
'error' => '<internalReason>(.*?)</internalReason>',
'noexternalembed' => '<yt:accessControl\saction=\'embed\'\spermission=\'denied\'/>',
'ws' => '<yt:aspectRatio>widescreen</yt:aspectRatio>',
),
),
array(
'id' => 'ytp',
'title' => 'YouTube (Playlists)',
'website' => 'http://www.youtube.com',
'type' => 'pop',
// http://uk.youtube.com/view_play_list?p=7262E1895FA61B39
'pattern' => 'http://(?:(?:www|[a-z]{2})\.)?youtube\.com/[^"]*?(?:[&/?;]|&amp;)(?:id=|p=|p/)([0-9a-f]{16})',
'movie' => 'http://www.youtube.com/p/$2&rel=0&fs=1',
'size' => array(480, 385),
'ui-height' => 25,
'fix-html-pattern' => '<object [^>]*><param name="movie" value="$1" />.*?</object>',
),


Also, can I just duplicate it and make a new one for the s ones? Because I am sure there are old links without the s, and no the censoring is not appropriate for me because many people turn it off.
The solution was posted here; create a new Censored Word in Admin panel (Administration Center --> Forum -->Posts and Topics --> Censored Words), to change https://www.youtube.com to http://www.youtube.com; that automatically change all urls to work well with the Aeva Mod.

#2
So youtube is not working anymore. Everything has HTTPS now.

How many of the http:// do I change to https://?

// Biggest most popular sites first for speed purposes
array(
'id' => 'ytb',
'title' => 'YouTube',
'website' => 'http://www.youtube.com',
'type' => 'pop',
'pattern' => 'http://(?:video\.google\.(?:com|com?\.[a-z]{2}|[a-z]{2})/[^"]*?)?(?:(?:www|[a-z]{2})\.)?youtu(?:be\.com/[^"#[]*?(?:[&/?;]|&amp;|%[23]F)(?:video_id=|v(?:/|=|%3D|%2F))|\.be/)([\w-]{11})',
'movie' => 'http://www.youtube.com/v/$2&rel=0&fs=1',
'size' => array(
'normal' => array(480, 385),
'ws' => array(640, 385),
),
'ui-height' => 25,
// http://www.youtube.com/watch?v=-X8mD76W4F0 or v=MxGofCFHYCc (all hail Jochen Hippel!)
// On Google - http://video.google.co.uk/url?docid=-8978185459530152475&ev=v&len=91&srcurl=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dg2cT5J0gxeU
// http://www.youtube.com/watch?v=M29NUeffJNA - Example of "Embedding Disabled By Request"
'fix-html-pattern' => '<object [^>]*><param name="movie" value="http://www\.youtube\.com/v/([\w-]{11})(?:&[^"]*)?">.*?</object>',
'fix-html-url' => 'http://www.youtube.com/watch?v=$1',
'lookup-url' => 'http://(?:video\.google\.(?:com|com?\.[a-z]{2}|[a-z]{2})/[^"]*?)?(?:(?:www|[a-z]{2})\.)?youtube\.com/[^"#[]*?(?:[&/?;]|&amp;|%[23]F)(?:video_id=|v(?:/|=|%3D|%2F))([\w-]{11})[^]#[]*',
'lookup-actual-url' => 'http://gdata.youtube.com/feeds/api/videos/$1?v=2',
'lookup-final-url' => 'http://www.youtube.com/watch?v=$1',
'lookup-title' => true,
'lookup-title-skip' => true,
'lookup-pattern' => array(
'id' => '<id>.*?:([\w-]+)</id>',
'error' => '<internalReason>(.*?)</internalReason>',
'noexternalembed' => '<yt:accessControl\saction=\'embed\'\spermission=\'denied\'/>',
'ws' => '<yt:aspectRatio>widescreen</yt:aspectRatio>',
),
),
array(
'id' => 'ytp',
'title' => 'YouTube (Playlists)',
'website' => 'http://www.youtube.com',
'type' => 'pop',
// http://uk.youtube.com/view_play_list?p=7262E1895FA61B39
'pattern' => 'http://(?:(?:www|[a-z]{2})\.)?youtube\.com/[^"]*?(?:[&/?;]|&amp;)(?:id=|p=|p/)([0-9a-f]{16})',
'movie' => 'http://www.youtube.com/p/$2&rel=0&fs=1',
'size' => array(480, 385),
'ui-height' => 25,
'fix-html-pattern' => '<object [^>]*><param name="movie" value="$1" />.*?</object>',
),


Also, can I just duplicate it and make a new one for the s ones? Because I am sure there are old links without the s, and no the censoring is not appropriate for me because many people turn it off.

#4
Having Embed Problems from youtube on some videos...some of them embed fine but others wont embed. Reading above someone was told to change http to https..If i changed this the videos that start with http wont embed correct?

Or should i just delete aeva and use another mod where i can have support?

I need http and https videos to embed. how can i fix this issue?

#5
Hi,

just had a look at the youtube https link problem with this mod.

The suggestions adding a new entry in the Aeva-Sites-Custom.php similar to the one in Aeva-Sites.php doesn't work here. After having a look at the source code of the Aeva-Embed.php it seems there are a lot of hardcoded queries like:


if (stripos($message, '<a href="http://') === false)
break;


This is probably the reason why using the Aeva-Sites-Custom.php won't work as there is no check for https:// links. For me the only chance to get posted youtube https links to work is changing them back to http:// links like recommended here:

Quote from: phantomm on December 17, 2012, 12:26:31 PM
I'm trying to figure it out where you see solution to YT links with https, but I can find it...

i just added in censored words https://www.youtube.com => http://www.youtube.com and it works fine for me.

#6
Hey guys,
I've tried the Dirty Hack but I still have no embeds for vimeo.

any Ideas?
I just get the link, with the https://vimeo.com/58314808
with out the https:// i just get the words vimeo.com/58314808

if I put the url's around it I still get just a link.

I never get an error, just no embed.

with or without the hack I get no error.
any ideas would be great!!!
YouTube works fine.

#7
Quote from: Unruler on December 15, 2012, 06:56:16 AM
Is there any way to make it embed https links?

I bypassed this issue using    Administration Center --> Forum -->Posts and Topics --> Censored Words and have SMF to automatically replace "https://www.youtube.com" with "http://www.youtube.com"
I did the same for "http://youtu.be/" with "http://www.youtube.com"

#9
Is there any way to make it embed https links?

#10
I added:

array(
'id' => 'ytbs',
'title' => 'YouTube SSL',
'website' => 'https://www.youtube.com',
'type' => 'pop',
'pattern' => 'https://(?:video\.google\.(?:com|com?\.[a-z]{2}|[a-z]{2})/[^"]*?)?(?:(?:www|[a-z]{2})\.)?youtu(?:be\.com/[^"#[]*?(?:[&/?;]|&amp;|%[23]F)(?:video_id=|v(?:/|=|%3D|%2F))|\.be/)([\w-]{11})',
'movie' => 'https://www.youtube.com/v/$2&rel=0&fs=1',
'size' => array(
'normal' => array(480, 385),
'ws' => array(640, 385),
),
'ui-height' => 25,
// https://www.youtube.com/watch?v=-X8mD76W4F0 or v=MxGofCFHYCc (all hail Jochen Hippel!)
// On Google - https://video.google.co.uk/url?docid=-8978185459530152475&ev=v&len=91&srcurl=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dg2cT5J0gxeU
// https://www.youtube.com/watch?v=M29NUeffJNA - Example of "Embedding Disabled By Request"
'fix-html-pattern' => '<object [^>]*><param name="movie" value="https://www\.youtube\.com/v/([\w-]{11})(?:&[^"]*)?">.*?</object>',
'fix-html-url' => 'https://www.youtube.com/watch?v=$1',
'lookup-url' => 'https://(?:video\.google\.(?:com|com?\.[a-z]{2}|[a-z]{2})/[^"]*?)?(?:(?:www|[a-z]{2})\.)?youtube\.com/[^"#[]*?(?:[&/?;]|&amp;|%[23]F)(?:video_id=|v(?:/|=|%3D|%2F))([\w-]{11})[^]#[]*',
'lookup-actual-url' => 'https://gdata.youtube.com/feeds/api/videos/$1?v=2',
'lookup-final-url' => 'https://www.youtube.com/watch?v=$1',
'lookup-title' => true,
'lookup-title-skip' => true,
'lookup-pattern' => array(
'id' => '<id>.*?:([\w-]+)</id>',
'error' => '<internalReason>(.*?)</internalReason>',
'noexternalembed' => '<yt:accessControl\saction=\'embed\'\spermission=\'denied\'/>',
'ws' => '<yt:aspectRatio>widescreen</yt:aspectRatio>',
),
),
array(
'id' => 'ytps',
'title' => 'YouTube (Playlists) SSL',
'website' => 'https://www.youtube.com',
'type' => 'pop',
// https://uk.youtube.com/view_play_list?p=7262E1895FA61B39
'pattern' => 'https://(?:(?:www|[a-z]{2})\.)?youtube\.com/[^"]*?(?:[&/?;]|&amp;)(?:id=|p=|p/)([0-9a-f]{16})',
'movie' => 'https://www.youtube.com/p/$2&rel=0&fs=1',
'size' => array(480, 385),
'ui-height' => 25,
'fix-html-pattern' => '<object [^>]*><param name="movie" value="$1" />.*?</object>',
),


but still doesn't work with https...

#11
Hi!

smf 2.0.2
Aeva Media 1.4w

Not working auto embed Google maps. Help please.

UPD: I understand the problem. AEWA https protocol does not understand ...

#12
Quote from: EOSHD on March 31, 2012, 04:46:20 PM
Quote from: larsenroed on March 30, 2012, 05:13:36 AM
If i paste the vimeo url https://vimeo.com/38948271 it just writes it as a link and if i remove the s to http:// it says "Sorry. There was an error encountered when loading this video".

SMF 2.0.2 and Aeva 7.2.

Youtube works just fine.

This is a major bug.

When I switch to the 'New' Vimeo on their site, it kills my embeds. Switching back to 'old Vimeo' and the embeds are fine. The embed code used by Aeva is old. It is using the depreciated Flash code when it should be using the new iFrame code.

PLEASE FIX

Is there no solution?

#13
Quote from: EOSHD on March 31, 2012, 04:46:20 PM
Quote from: larsenroed on March 30, 2012, 05:13:36 AM
If i paste the vimeo url https://vimeo.com/38948271 it just writes it as a link and if i remove the s to http:// it says "Sorry. There was an error encountered when loading this video".

SMF 2.0.2 and Aeva 7.2.

Youtube works just fine.

This is a major bug.

When I switch to the 'New' Vimeo on their site, it kills my embeds. Switching back to 'old Vimeo' and the embeds are fine. The embed code used by Aeva is old. It is using the depreciated Flash code when it should be using the new iFrame code.

PLEASE FIX

The mods author is no longer supporting the mod.

#14
Quote from: larsenroed on March 30, 2012, 05:13:36 AM
If i paste the vimeo url https://vimeo.com/38948271 it just writes it as a link and if i remove the s to http:// it says "Sorry. There was an error encountered when loading this video".

SMF 2.0.2 and Aeva 7.2.

Youtube works just fine.

This is a major bug.

When I switch to the 'New' Vimeo on their site, it kills my embeds. Switching back to 'old Vimeo' and the embeds are fine. The embed code used by Aeva is old. It is using the depreciated Flash code when it should be using the new iFrame code.

PLEASE FIX

#15
I've updated all of those to detect https - the first array declaration is the original, the 2nd is the one I've added...

If I enter the https: url manually into the browser it works, it just won't embed.

#16
Hello all, im new on smf so im sorry if i speak something wrong or forget to tell any necessary info.

Forum link: virtualxp.vidracariaskyglass.com/forum [nofollow]
Version: 2.0.1

I have installed Aeva Lite 7.2 and have tried those links:
<iframe width="640" height="480" src="http://www.youtube.com/embed/uNkOZfuFLfw [nofollow]" frameborder="0" allowfullscreen></iframe>

http://www.youtube.com/watch?v=XbNEOJMGFAo [nofollow]
[facebook]https://www.facebook.com/video/video.php?v=238358730483[/facebook] [nofollow]
https://www.facebook.com/video/video.php?v=2031763147233 [nofollow]
youtube.com/watch?v=XbNEOJMGFAo
http://www.youtube.com/embed/uNkOZfuFLfw [nofollow]
www.youtube.com/embed/uNkOZfuFLfw
youtube.com/embed/uNkOZfuFLfw
http://youtu.be/XbNEOJMGFAo [nofollow]
video.google.com/videoplay?docid=-570340003958234038

and none work, this is my aeva settings



#17
Hello!

I'm having a weird problem after installing the auto-embed (7.1) into my forum.

all my topics are blank, just like this:

https://lh6.googleusercontent.com/--b4ydiQXxq8/Tf11Cjee2-I/AAAAAAAAEH8/iCTTJeGqmuw/s1024/blanktopic.jpg

and uninstalling the mod fix it right away.

any clue? i've looked in this topic and didn't find any answer.. thank you!

#18
Quote from: Nao on January 24, 2010, 06:48:00 AM
lorenzo, great :)

Quote from: gamerzworld on January 23, 2010, 05:27:37 PM
Yep. Changing the pattern link from https to just http and doing the same to the links will make aeva embed the link.
Hmm yeah, been looking into the code... It's not technically due to a bug in the sitelist, but rather a limitation in the embed code. Because Aeva looks for http:// link and when it can't find them, it stops looking. Problem is, I don't know of any other site that uses https:// exclusively for showing videos, so I can't really justify adding a test for https:// that will slow down all forums (even if very very little), just for a single site which isn't even in the official sitelist... :-/

I don't see any easy solution to this.

Quote from: selket on January 23, 2010, 03:37:55 PM
This is a messange with a screwed up video:

mie asta mi se pare geniala:
[ url=http://www.youtube.com/watch?v=g2VCfOC69jc#lq-lq2-hq]Honda [nofollow] Ad[/url]
Hmm... I'm afraid I don't have any problems with it.
I'll need FTP access to your site so I can fix it. :(
Could you please provide the names of file(s) I'd have to edit to fix this?

#19
lorenzo, great :)

Quote from: gamerzworld on January 23, 2010, 05:27:37 PM
Yep. Changing the pattern link from https to just http and doing the same to the links will make aeva embed the link.
Hmm yeah, been looking into the code... It's not technically due to a bug in the sitelist, but rather a limitation in the embed code. Because Aeva looks for http:// link and when it can't find them, it stops looking. Problem is, I don't know of any other site that uses https:// exclusively for showing videos, so I can't really justify adding a test for https:// that will slow down all forums (even if very very little), just for a single site which isn't even in the official sitelist... :-/

I don't see any easy solution to this.

Quote from: selket on January 23, 2010, 03:37:55 PM
This is a messange with a screwed up video:

mie asta mi se pare geniala:
[ url=http://www.youtube.com/watch?v=g2VCfOC69jc#lq-lq2-hq]Honda Ad[/url]
Hmm... I'm afraid I don't have any problems with it.
I'll need FTP access to your site so I can fix it. :(

#20
Quote from: Nao on January 23, 2010, 04:17:44 AM
@the brain> In case you didn't notice, the feature was added to Beta 3, released 2 days ago...

@hanzalah> no comprendo your question.

@gamerzworld> you mean if you replace https with http, it works? (You have to admit, though, using https for a video embed is quite weird and anti-intuitive...)
Yep. Changing the pattern link from https to just http and doing the same to the links will make aeva embed the link.

Advertisement: