Using embed tag gives "Plugin is not supported"

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Using embed tag gives "Plugin is not supported"

Postby aasmagarg » Mon Jan 09, 2017 3:05 am

Hi,

I am using CEF 2840 and trying to play using mp3 using embed tag.
Code: Select all
<embed src="abc.mp3">

However, it gives me the error "Plugin is not supported" . I tried using command-line flag "enable-system-flash". That still doesnot work.
What am I missing ?

Thanks,
Aasma
aasmagarg
Techie
 
Posts: 22
Joined: Sun Mar 20, 2016 11:42 pm

Re: Using embed tag gives "Plugin is not supported"

Postby salvadordf » Mon Jan 09, 2017 3:56 am

You need to compile CEF with proprietary codec support enabled as described here :
viewtopic.php?f=6&t=13515
Maintainer of the CEF4Delphi, WebView4Delphi, WebUI4Delphi and WebUI4CSharp projects.
User avatar
salvadordf
Expert
 
Posts: 129
Joined: Sun Dec 18, 2016 8:39 am
Location: Spain

Re: Using embed tag gives "Plugin is not supported"

Postby aasmagarg » Mon Jan 09, 2017 10:44 pm

I have already done that. mp3 is playing if I use "audio" tag. Only on using "embed" tag, it gives me "Plugin is not supported".
aasmagarg
Techie
 
Posts: 22
Joined: Sun Mar 20, 2016 11:42 pm

Re: Using embed tag gives "Plugin is not supported"

Postby magreenblatt » Tue Jan 10, 2017 12:03 pm

Does it work in Google Chrome at the same version?
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Using embed tag gives "Plugin is not supported"

Postby aasmagarg » Fri Jan 13, 2017 9:51 am

I am not sure about the chrome as I don't have the same version. But its giving the same output "Plugin is not supported" in cefclient app with version 2840.

-Aasma
aasmagarg
Techie
 
Posts: 22
Joined: Sun Mar 20, 2016 11:42 pm

Re: Using embed tag gives "Plugin is not supported"

Postby aasmagarg » Tue Jan 17, 2017 2:50 am

[Solved] After debugging found that setting "GYP_DEFINES=proprietary_codecs=1 ffmpeg_branding=Chrome", doesn't enable the "USE_PROPRIETARY_CODECS" flag used in mime_util_internal.cc in 2840 branch. To enable this flag, we have to set GN_DEFINES.

Code: Select all
On Windows :
set GN_DEFINES=proprietary_codecs=true ffmpeg_branding=Chrome
On Mac :
export GN_DEFINES="proprietary_codecs=true ffmpeg_branding=Chrome"


The above change fixes the issue.

Regards,
Aasma
aasmagarg
Techie
 
Posts: 22
Joined: Sun Mar 20, 2016 11:42 pm


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 93 guests