[jitsi-users] “Unexpected token u” while using JitsiMeetExternalAPI


#1

I'm using the External Jitsi API(1) by following this example(2). The problem is that I get a "Unexpected token u" error.

What I see is that the Jitsi External API creates an iframe with a supposed chat room URL. The problem is that the iframe url has a "external" hash appended. I tried removing the hash from the src and seems to work fine but I'm still confused.

Someone knows why the hash is needed and if it's possible to find a better way to solve that instead of editing the External Jitsi API src?

I created a fiddle example of my problem: https://jsfiddle.net/rmuy19bk/
And also I posted a stackoverflow issue: http://stackoverflow.com/questions/31242622/i-get-unexpected-token-u-while-using-jitsimeetexternalapi

Thanks!

links:
1 - https://meet.jit.si/external_api.js
2 - https://github.com/jitsi/jitsi-meet/blob/master/doc/api.md


#2

Hello,

It seems like issue in the Jitsi Meet code. We need the "external" hash
parameter and I don't think this is the best way to solve the issue.

I'll investigate it and fix it.

Thank you for the report!

Regards,
Hristo.

···

On Tue, Jul 7, 2015 at 9:52 AM, Marius Nogueras <Marius.Nogueras@xailabs.de> wrote:

I'm using the External Jitsi API(1) by following this example(2). The
problem is that I get a "Unexpected token u" error.

What I see is that the Jitsi External API creates an iframe with a
supposed chat room URL. The problem is that the iframe url has a "external"
hash appended. I tried removing the hash from the src and seems to work
fine but I'm still confused.

Someone knows why the hash is needed and if it's possible to find a
better way to solve that instead of editing the External Jitsi API src?

I created a fiddle example of my problem: https://jsfiddle.net/rmuy19bk/
And also I posted a stackoverflow issue:
http://stackoverflow.com/questions/31242622/i-get-unexpected-token-u-while-using-jitsimeetexternalapi

Thanks!

links:
1 - https://meet.jit.si/external_api.js
2 - https://github.com/jitsi/jitsi-meet/blob/master/doc/api.md

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users

--
Regards,
Hristo.


#3

Hi,

Do you have any news about that? I am really interested to get a solution since I will have to use the JitsiMeetExternalApi for a project that I’m working right now.

Thanks

···

On 07 Jul 2015, at 09:05, Hristo Terezov <hristo@jitsi.org<mailto:hristo@jitsi.org>> wrote:

Hello,

It seems like issue in the Jitsi Meet code. We need the "external" hash parameter and I don't think this is the best way to solve the issue.

I'll investigate it and fix it.

Thank you for the report!

Regards,
Hristo.

On Tue, Jul 7, 2015 at 9:52 AM, Marius Nogueras <Marius.Nogueras@xailabs.de<mailto:Marius.Nogueras@xailabs.de>> wrote:
I'm using the External Jitsi API(1) by following this example(2). The problem is that I get a "Unexpected token u" error.

What I see is that the Jitsi External API creates an iframe with a supposed chat room URL. The problem is that the iframe url has a "external" hash appended. I tried removing the hash from the src and seems to work fine but I'm still confused.

Someone knows why the hash is needed and if it's possible to find a better way to solve that instead of editing the External Jitsi API src?

I created a fiddle example of my problem: https://jsfiddle.net/rmuy19bk/
And also I posted a stackoverflow issue: http://stackoverflow.com/questions/31242622/i-get-unexpected-token-u-while-using-jitsimeetexternalapi

Thanks!

links:
1 - https://meet.jit.si/external_api.js
2 - https://github.com/jitsi/jitsi-meet/blob/master/doc/api.md

_______________________________________________
users mailing list
users@jitsi.org<mailto:users@jitsi.org>
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users

--
Regards,
Hristo.
_______________________________________________
users mailing list
users@jitsi.org<mailto:users@jitsi.org>
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users


#4

Hi,

I've just pushed a fix for the issue (commit
ca5a1001a1861f1f6506d091451723ff7ebd0717).

Regards,
Hristo.

···

On Mon, Jul 20, 2015 at 10:04 AM, Marius Nogueras < Marius.Nogueras@xailabs.de> wrote:

Hi,

Do you have any news about that? I am really interested to get a
solution since I will have to use the JitsiMeetExternalApi for a project
that I’m working right now.

Thanks

  On 07 Jul 2015, at 09:05, Hristo Terezov <hristo@jitsi.org> wrote:

Hello,

It seems like issue in the Jitsi Meet code. We need the "external" hash
parameter and I don't think this is the best way to solve the issue.

I'll investigate it and fix it.

Thank you for the report!

Regards,
Hristo.

On Tue, Jul 7, 2015 at 9:52 AM, Marius Nogueras < > Marius.Nogueras@xailabs.de> wrote:

I'm using the External Jitsi API(1) by following this example(2). The
problem is that I get a "Unexpected token u" error.

What I see is that the Jitsi External API creates an iframe with a
supposed chat room URL. The problem is that the iframe url has a "external"
hash appended. I tried removing the hash from the src and seems to work
fine but I'm still confused.

Someone knows why the hash is needed and if it's possible to find a
better way to solve that instead of editing the External Jitsi API src?

I created a fiddle example of my problem: https://jsfiddle.net/rmuy19bk/
And also I posted a stackoverflow issue:
http://stackoverflow.com/questions/31242622/i-get-unexpected-token-u-while-using-jitsimeetexternalapi

Thanks!

links:
1 - https://meet.jit.si/external_api.js
2 - https://github.com/jitsi/jitsi-meet/blob/master/doc/api.md

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users

--
Regards,
Hristo.
  _______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users

--
Regards,
Hristo.