Impossible to embed in Blogs Module

I have been trying whole day today to embed in Blogs Module using HTML editor a video from Vimeo, pictures from Flickr and Audioboox from Ivoox. It worked perfectly fine before, but now something strange is happening. What ever I try to embed, after save it changes to Youtube error code. For example:

Embeding following: <iframe src="//player.vimeo.com/video/108667874?title=0&amp;byline=0&amp;portrait=0" width="640" height="360" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>

After submitting it changes to: <iframe width="640" height="360" frameborder="0" allowfullscreen="" src="http://www.youtube.com/embed/?wmode=opaque" alt="?wmode=opaque"></iframe>

I contacted a hosting provider with the issue and they replied that it appears that the module in question doesn´t parse the code correctly, most likely due to the algorithm´s logic.

This appears strange to me. There are no errors in Dolphin Installation, however, I can not embed anything. Anyone could help me?

 

Thanks

Captura.JPG · 84.3K · 207 views
Quote · 22 Oct 2014

I gave a tutorial, or forum post, or something, on how to change the code to a whitelist solution.  Very easy to implement and basically htmlpurifier will let you embed the iframe code from "trusted" sources and it is easy to add sites at any time.

Geeks, making the world a better place
Quote · 22 Oct 2014

Read through this forum post and then if you have any questions just ask:

http://www.boonex.com/forums/topic/HTMLpurifier-adding-other-iframe-conditions-.htm

Geeks, making the world a better place
Quote · 22 Oct 2014

Thanks 

Quote · 22 Oct 2014

OK, let me make it simple then.  The code in htmlpurifier does not support vimeo iframe codes or iframe codes from many other video sharing sites.  I gave the answer to the problem or you can write your own solution.

Geeks, making the world a better place
Quote · 22 Oct 2014

Thanks again geek_girl. I know it supports, because Just a few days ago I had almost 200 movies working on. However, I did resolved the issue and it worka again. Here is an example how it works: http://delguiri.com/blogs/entry/47-Ronin-2014-10-22

Will be public just few hours, then it goes back to "Friends Only" because of copyright.

 

Thank you and regards,

 

Tomas

Quote · 22 Oct 2014

OK, I took a look and you are not embedding with an iframe code but an object tag.  My help was if you wanted to embed using an iframe code as you originally posted.

Geeks, making the world a better place
Quote · 22 Oct 2014

 RE

Thanks 

 It does if you want to use the  Vimeo iframe embed code, otherwise htmlpurifer will trash the code. 

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 22 Oct 2014

Yes, actually it is an iframe:  <iframe src="//player.vimeo.com/video/108667874?title=0&amp;byline=0&amp;portrait=0" width="500" height="209" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>

Quote · 22 Oct 2014

Interesting.  When I look with firebug I see this:

<p style="text-align: center;">

<iframe width="640" height="360" frameborder="0" allowfullscreen="" mozallowfullscreen="" webkitallowfullscreen="" src="http://player.vimeo.com/video/108667874?title=0&byline=0&portrait=0">
<!DOCTYPE html>
<html lang="en">
<head>
<body>
<div id="player" class="player player-1414013955745 with-fullscreen">
<noscript><!-- If you change anything here, make sure to change it below, too. --> <!-- This should use the /moog redirect urls. --> <object id="flash-object" type="application/x-shockwave-flash" width="100%" height="100%" data="/moog/108667874"> <param name="flashvars" value="clip_id=108667874&amp;api=1&amp;moogaloop_type=moogaloop&amp;noscript"> <param name="movie" value="/moog/108667874?noscript"> <param name="allowfullscreen" value="true"> <param name="allowscriptaccess" value="always"> <param name="bgcolor" value="#000000"> <param name="wmode" value="opaque"> <param name="quality" value="high"> <param name="scalemode" value="noscale"> <div class="fallback"><iframe src="/video/108667874/fallback?noscript" frameborder="0" title="Player Fallback Message"></iframe></div> </object></noscript>
<div class="video-wrapper">
<div class="video" data-thumb="http://i.vimeocdn.com/video/492428809.jpg?mw=640" style="background-image: url("http://i.vimeocdn.com/video/492428809.jpg?mw=640");">
<div class="flideo cloaked">
<video hidden="" x-webkit-airplay="allow" preload="metadata" src="" style="display: none;"></video>
<object width="100%" height="100%" type="application/x-shockwave-flash" data="http://f.vimeocdn.com/p/flash/flideo/1.0.3b10/flideo.swf">
<param name="flashvars" value="ready=flideo_1414013955788.flashReady">
<param name="allowfullscreen" value="true">
<param name="allowscriptaccess" value="always">
<param name="bgcolor" value="#000000">
<param name="wmode" value="opaque">
<param name="quality" value="high">
<param name="scalemode" value="noscale">
</object>
</div>
</div>
</div>
<div class="target hidden" hidden=""></div>
<div class="captions with-controls hidden" hidden="" aria-live="assertive" style="font-size: 16px;">
<div class="outro-wrapper hidden" hidden="">
<div class="controls-wrapper">
<div class="overlay-wrapper hidden" hidden="">
<div class="notification-wrapper hidden" hidden="">
</div>
<script async="" src="http://www.google-analytics.com/ga.js">
<script>
<iframe hidden="" src="https://f.vimeocdn.com/p/2.5.16/proxy.html" title="Vimeo LocalStorage Proxy" aria-hidden="true">
Geeks, making the world a better place
Quote · 22 Oct 2014

If you post that embed code as admin, then htmlpurifier isn't part of the equation.  If you try to post iframe embed code as a non-admin, the post is passed through htmlpurifier, which will alter the original embed code.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 22 Oct 2014

Wow, geek_girl. Thank you but you know, I could not understand a lot of from what you say. This is starting to be quite difficult to me. Do you mean there are some important errors??

:-)

Quote · 22 Oct 2014

Thanks 

Quote · 22 Oct 2014

Remember, speeling is vary impourtant when your coding, especially in Chineese... (sorry, just couldn't resist)

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 22 Oct 2014

Speeling, or spelling?

:-)

Quote · 22 Oct 2014

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 22 Oct 2014

And currently with more than 61 MILLION hits, the 'missing the point' award still goes to Miss South Carolina....

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 22 Oct 2014

OK Guys,

 

Thank you for your time and help.

 

Good night from Malaga/Spain to everyone.

 

:-)

Quote · 22 Oct 2014

Quote · 23 Oct 2014
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.