You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openmeetings.apache.org by "dennis.bengs" <de...@gmail.com> on 2012/08/28 16:12:59 UTC
OM 2.0 HTML embed issue
Hello!
I'm working on embedding OpenMeetings into a website using
PHP/JavaScript/HTML. Due to a bug in QtWebkit I can't use IFrame to
embed OpenMeetings, so I'm using the <embed> tag to embed the swf file
directly.
This is the url specified in the data attribute:
"http://localhost:5080/openmeetings/maindebug.swf8.swf?lzproxied=solo&secureHash=a_long_hash".
The first debugger window is opened and shows:
tSWFURL ::
maindebug.swf8.swf?lzproxied=solo&lc_SID=449881&secureHash=a_long_hash
Connect to LocalConnection 449881__rtmpLC
ondata
ondata
main.lzx/config.xml ondata «<anonymous extends='canvas'>#1#0| This
is the canvas»
_url:
http://localhost:5080/openmeetings/maindebug.as3.swf10.swf?lzproxied=solo&secureHash=a_long_hash
and then nothing more happens. I assume the problem is that it won't
open maindebug.as3.swf10.swf.
Now if I were to open the flash file in a new tab instead of embedding
it, it works just fine. It opens the two debugger windows and joins the
room.
any ideas?
Re: OM 2.0 HTML embed issue
Posted by "dennis.bengs" <de...@gmail.com>.
Hello Sebastian.
I originally used
http://localhost:5080/openmeetings/?secureHash=a_long_hash in an
<iframe> to position OpenMeetings where I wanted it on the Website. But
Webkit for Qt has a bug which incorrectly positions Flash files inside
iframes. So instead I tried using <embed> to embed the SWF file. This
worked in pre-2 versions of OpenMeetings, but not with 2 and up.
I wish to embed OpenMeetings on only part of the website I'm working at.
Do I have any alternatives to using iframes and the HTML wrapper?
seba.wagner@gmail.com skrev 8/28/2012 5:27 PM:
> Hi Dennis,
>
> you should not specify the SWF in the URL at all.
>
> If you want the debug version to see embeded you should use this URL
> http://localhost:5080/openmeetings/?swf=maindebug.as3.swf10.swf&secureHash=a_long_hash
> But by default you should just not specify a SWF at all:
> http://localhost:5080/openmeetings/?secureHash=a_long_hash
>
> setting the proxied parameter is automatically done in the HTML
> wrapper, no need to duplicate that.
>
> Sebastian
>
> 2012/8/28 dennis.bengs <de...@gmail.com>:
>> Hello!
>>
>> I'm working on embedding OpenMeetings into a website using
>> PHP/JavaScript/HTML. Due to a bug in QtWebkit I can't use IFrame to embed
>> OpenMeetings, so I'm using the <embed> tag to embed the swf file directly.
>> This is the url specified in the data attribute:
>> "http://localhost:5080/openmeetings/maindebug.swf8.swf?lzproxied=solo&secureHash=a_long_hash".
>>
>> The first debugger window is opened and shows:
>>
>> tSWFURL ::
>> maindebug.swf8.swf?lzproxied=solo&lc_SID=449881&secureHash=a_long_hash
>> Connect to LocalConnection 449881__rtmpLC
>> ondata
>> ondata
>> main.lzx/config.xml ondata «<anonymous extends='canvas'>#1#0| This is
>> the canvas»
>> _url:
>> http://localhost:5080/openmeetings/maindebug.as3.swf10.swf?lzproxied=solo&secureHash=a_long_hash
>>
>> and then nothing more happens. I assume the problem is that it won't open
>> maindebug.as3.swf10.swf.
>>
>> Now if I were to open the flash file in a new tab instead of embedding it,
>> it works just fine. It opens the two debugger windows and joins the room.
>>
>> any ideas?
>
>
Re: OM 2.0 HTML embed issue
Posted by "seba.wagner@gmail.com" <se...@gmail.com>.
Hi Dennis,
you should not specify the SWF in the URL at all.
If you want the debug version to see embeded you should use this URL
http://localhost:5080/openmeetings/?swf=maindebug.as3.swf10.swf&secureHash=a_long_hash
But by default you should just not specify a SWF at all:
http://localhost:5080/openmeetings/?secureHash=a_long_hash
setting the proxied parameter is automatically done in the HTML
wrapper, no need to duplicate that.
Sebastian
2012/8/28 dennis.bengs <de...@gmail.com>:
> Hello!
>
> I'm working on embedding OpenMeetings into a website using
> PHP/JavaScript/HTML. Due to a bug in QtWebkit I can't use IFrame to embed
> OpenMeetings, so I'm using the <embed> tag to embed the swf file directly.
> This is the url specified in the data attribute:
> "http://localhost:5080/openmeetings/maindebug.swf8.swf?lzproxied=solo&secureHash=a_long_hash".
>
> The first debugger window is opened and shows:
>
> tSWFURL ::
> maindebug.swf8.swf?lzproxied=solo&lc_SID=449881&secureHash=a_long_hash
> Connect to LocalConnection 449881__rtmpLC
> ondata
> ondata
> main.lzx/config.xml ondata «<anonymous extends='canvas'>#1#0| This is
> the canvas»
> _url:
> http://localhost:5080/openmeetings/maindebug.as3.swf10.swf?lzproxied=solo&secureHash=a_long_hash
>
> and then nothing more happens. I assume the problem is that it won't open
> maindebug.as3.swf10.swf.
>
> Now if I were to open the flash file in a new tab instead of embedding it,
> it works just fine. It opens the two debugger windows and joins the room.
>
> any ideas?
--
Sebastian Wagner
https://twitter.com/#!/dead_lock
http://www.webbase-design.de
http://www.wagner-sebastian.com
seba.wagner@gmail.com