i just noticed that a youtube link that i had added to a blog post long ago is no longer being correctly handled and is not rendering a youtube video (via the embed_extender) plugin.
i played around with embed_extender and was not able to resolve the issue.
i thought i would disable embed_extender and just do a normal embed. however, htmlawed is removing the iframe object.
so then i though i would look at the ecml plugin, since i want to use it anyway.
i could either use ecml to embed a videolist video (from youtube) or directly embed a youtube video (without using videolist). i looked in the readme for ecml and the example is given for embedding a youtube video. however, this doesn't work - and the word 'youtube' is not in the ecml plugin anywhere currently.
so what is the solution here?
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Matt Beckett@Beck24

Matt Beckett - 0 likes
- ura soul@tunist

ura soul - 0 likes
- ura soul@tunist

ura soul - 0 likes
- rjcalifornia@rjcalifornia

rjcalifornia - 0 likes
- ura soul@tunist

ura soul - 0 likes
- Ray J@RayJ

Ray J - 0 likes
- ura soul@tunist

ura soul - 0 likes
- Brett@brett.profitt

Brett - 0 likes
- Matt Beckett@Beck24

Matt Beckett - 0 likes
- whitetornado@whitetornado

whitetornado - 0 likes
You must log in to post replies.probably to figure out why embed_extender is failing on it. Make sure it's processing that view first of all, then see if the pattern matching is failing, if so need to add/modify the pattern so it does match
overall, i'd prefer to get ecml functioning with youtube embeds, since i want to use ecml and get rid of embed_extender.. since ecml is more useful.
i see that the embeds work ok on my local site, but not on the live site.. on the live site the object element is totally empty.
i resolved the issue with embed_extender. the code is only designed to support http, not https. since my site (and other sites) are now https only - i needed to insert many 's' letters into embed_extender.
this is not the correct fix though, since the regex expressions need to be written to support http or https.
So Ura, would you share your fix?
all i did was search/replace http: with https:
this i not really a fix as such - it is a workaround that is ok-ish for me, since my site is https only.
for other sites with http pages, this would not work.
The regex needs to support both http and https. I am VERY busy right now, but I will contact Matt to ask for some help. Feel glad to know that my old plugin is still in use.
ok thanks @Rayj
That matches http and https. The ? means "match 0 or one of the preceeding character."
It might be beneficial to have https sites default to https for providers that support it, otherwise when users embed content with a http link you'll get the browser security warning...
where you need to add a S or add https ? got the same issues