BigBlueButton IFRAME usage

2,099 views
Skip to first unread message

Jam87

unread,
Nov 25, 2010, 11:22:29 AM11/25/10
to BigBlueButton-dev
Hi,

Was just wondering if it's possible to launch BigBlueButton from
within an iframe, e.g make the API call and then pass the response url
as the source for the iframe.

Thanks

Jeremy Thomerson

unread,
Nov 25, 2010, 1:36:47 PM11/25/10
to bigblueb...@googlegroups.com

It won't take you five minutes to test. Let us know the answer.

Jeremy Thomerson
-- sent from my "smart" phone, so please excuse spelling, formatting, or compiler errors


--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To post to this group, send email to bigblueb...@googlegroups.com.
To unsubscribe from this group, send email to bigbluebutton-...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bigbluebutton-dev?hl=en.

Chipie

unread,
Nov 26, 2010, 1:14:55 AM11/26/10
to BigBlueButton-dev
We are running bbb in a an iframe. It works find

Regards, Stéphane

Jam87

unread,
Nov 26, 2010, 8:26:43 AM11/26/10
to BigBlueButton-dev
Hi,

I've tried to get it working but whenever the IFRAME opens the target
url it gets stuck on "connecting to server" and just hangs.

Any help much appreciated

Thanks

Chipie

unread,
Nov 27, 2010, 8:13:50 AM11/27/10
to BigBlueButton-dev
Hi,

here is working example:

http://vanilla.liveloop.de/node/58/meeting/moderate

Regards, Stéphane

Jam87

unread,
Nov 30, 2010, 7:06:33 AM11/30/10
to BigBlueButton-dev
Hi Stéphane,

Thanks for the example, how are you loading the IFRAME content? I've
tried two ways, first I tried to run the API call and pass the
response URL to the IFRAME as it's source (just hangs on connecting to
server loading bar), secondly I've tried using the API call to get the
url and then did a further call using the response url and passed the
normal server URL to the IFRAME (again just hangs on connecting to
server).

Any help would be much appreciated.

Thanks

James

On Nov 27, 1:13 pm, Chipie <stephane....@googlemail.com> wrote:
> Hi,
>
> here is working example:
>
> http://vanilla.liveloop.de/node/58/meeting/moderate
>
> Regards, Stéphane
>
> On 26 Nov., 14:26, Jam87 <sirj...@gmail.com> wrote:
>
> > Hi,
>
> > I've tried to get it working but whenever theIFRAMEopens the target
> > url it gets stuck on "connecting to server" and just hangs.
>
> > Any help much appreciated
>
> > Thanks
>
> > On Nov 26, 6:14 am, Chipie <stephane....@googlemail.com> wrote:
>
> > > We are running bbb in a aniframe. It works find
>
> > > Regards, Stéphane
>
> > > On 25 Nov., 17:22, Jam87 <sirj...@gmail.com> wrote:
>
> > > > Hi,
>
> > > > Was just wondering if it's possible to launch BigBlueButton from
> > > > within aniframe, e.g make the API call and then pass the response url

Chipie

unread,
Nov 30, 2010, 10:57:27 AM11/30/10
to BigBlueButton-dev
Hi James,

first the meeting is created with an api call. Than a url is built
with a join command (e.g.
http://example.com/bigbluebutton/api/join?fullName=test&meetingID=xxx&password=xxx&checksum=xxx
). This is the source url for the iframe.

Regards, Stéphane

Jam87

unread,
Dec 1, 2010, 5:24:19 AM12/1/10
to BigBlueButton-dev
Thanks, would it matter if BigBlueButton was hosted on an external
server?

On Nov 30, 3:57 pm, Chipie <stephane....@googlemail.com> wrote:
> Hi James,
>
> first the meeting is created with an api call. Than a url is built
> with a join command (e.g.http://example.com/bigbluebutton/api/join?fullName=test&meetingID=xxx...

Chipie

unread,
Dec 2, 2010, 1:37:57 AM12/2/10
to BigBlueButton-dev
I don't think so.

-- Stéphane

Jam87

unread,
Dec 3, 2010, 6:51:07 AM12/3/10
to BigBlueButton-dev
I've tried the above solution but in the BBB log window I'm getting:

12/3/2010 11:49:47.645 [DEBUG] **** Using RTMP to connect to
RTMP://app.tutorme.co.uk/bigbluebutton******
12/3/2010 11:49:47.646 [DEBUG] JoinService:load(...)
http://app.tutorme.co.uk/bigbluebutton/api/enter
12/3/2010 11:49:47.869 [DEBUG] Join FAILED = <response>
<returncode>FAILED</returncode>
<message>Could not find conference null.</message>
</response>

Any help much appreciated

James

Chipie

unread,
Dec 4, 2010, 3:13:37 AM12/4/10
to BigBlueButton-dev
How did you create the meeting? What URL did you use as iframe source?

-- Stéphane

On 3 Dez., 12:51, Jam87 <sirj...@gmail.com> wrote:
> I've tried the above solution but in the BBB log window I'm getting:
>
> 12/3/2010 11:49:47.645 [DEBUG] **** Using RTMP to connect to
> RTMP://app.tutorme.co.uk/bigbluebutton******
> 12/3/2010 11:49:47.646 [DEBUG] JoinService:load(...)http://app.tutorme.co.uk/bigbluebutton/api/enter

James Hill

unread,
Dec 6, 2010, 3:27:16 AM12/6/10
to bigblueb...@googlegroups.com
I used the API to create the meeting, and then the url returned was
used as the IFRAME source.

Thanks

James

Jam87

unread,
Dec 6, 2010, 11:41:26 AM12/6/10
to BigBlueButton-dev
If any BBB developers read this, could you let me know if trying to
join a meeting via IFRAME (BBB is located on an external server to the
IFRAME instance) would affect connecting to sessions?

I've tried to get this working but have a feeling this can't be done
due to the session being lost at some point.

I've seen others who have this working but in these cases BBB is
hosted on the same server as the API application.

Any help much appreciated :)

James

On Dec 6, 8:27 am, James Hill <sirj...@gmail.com> wrote:
> I used the API to create the meeting, and then the url returned was
> used as the IFRAME source.
>
> Thanks
>
> James
>

Dmitry Borzdov

unread,
Jan 4, 2014, 6:06:42 PM1/4/14
to bigblueb...@googlegroups.com, stepha...@googlemail.com
Dear, Stéphane.

Could you explain how you run BBB in Iframe. Your help will be much appreciated.




пятница, 26 ноября 2010 г., 10:14:55 UTC+4 пользователь Chipie написал:

dev0x10

unread,
Jan 15, 2014, 8:43:50 PM1/15/14
to bigblueb...@googlegroups.com
Check the network stack using your browser's developer tools

Remember some things:
- When you create a meeting by calling the API, browser will get session
- When user entering BigBlueButton using IFRAME the session will be checked
- You may need to enable CORS on Nginx setting
- Most of browsers reject 3rd party cookie/session by default

What I did to make it works:
- For IE, it can accept 3rd party session by enabling P3P headers (on bigbluebutton-web, look for ApiController.groovy and then add P3P policy on the response header). I used this: 
response.addHeader("P3P","CP='IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT'");
- For Chrome and Firefox, I trick it by using pop-up to open an empty page on my BigBlueButton server and assign a session on there

Fred Dixon

unread,
Jan 15, 2014, 8:59:27 PM1/15/14
to BigBlueButton-dev
Thanks for sharing this Yau!

Regards,... Fred


--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-...@googlegroups.com.
To post to this group, send email to bigblueb...@googlegroups.com.



--
BigBlueButton Developer
BigBlueButton on twitter: @bigbluebutton

dev0x10

unread,
Jan 15, 2014, 9:36:02 PM1/15/14
to bigblueb...@googlegroups.com
To make clear:
 
- For Chrome and Firefox, I trick it by using pop-up to open an empty page on my BigBlueButton server and assign a session on there --> you can any session you want. For example set session with user's browser agent. 
The session you set here just telling Chrome and Firefox that user already visit your BigBlueButton server before, so when you call the API from IFRAME browser will accept the session.

But my trick doesn't works on Firefox nightly build and Safari on Mac which implements stricter session/cookie policy

 

 
Reply all
Reply to author
Forward
0 new messages