Logo
My Account |  Site Map | Contact Us  
Welcome Guest Search | Active Topics | Sign In | Register

MP4 videos not playing in web browser Options
Anil Kumar Dasari
Posted: Monday, May 13, 2019 2:33:45 AM
Rank: Newbie
Groups: Member

Joined: 5/13/2019
Posts: 2
Hi,

I am developing WPF app which shall play .MP4,WEBM,.OGG files in web browser.I have referencerd EO.Base, EO.WebBrowser, EO.WebBrowser.Wpf, EO.WebBrowser.Wpf

I am facing two issues.

1.When i use .LoadHtml(), method none of the video formats are rendering
2.When i use .URI property, WEBM,.OGG formats are rendering but .MP4 file are not playing.

Same video files are playing in Chrome browser without any issue.If required i can send you sample project that i am working.

Please reply me ASAP.


Thanks,
Anil
eo_support
Posted: Monday, May 13, 2019 7:35:43 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 21,568
Hi,

Please see here for more details:

https://www.essentialobjects.com/doc/webbrowser/advanced/html5.aspx

Thanks!
Anil Kumar Dasari
Posted: Tuesday, May 14, 2019 5:54:54 AM
Rank: Newbie
Groups: Member

Joined: 5/13/2019
Posts: 2
Thanks for the reply,

With the solution provided i am able to render.mp4 using .URI property. But .LoadHtml() method is not rendering any video format.
Any advice or suggestion will be much appreciated.
eo_support
Posted: Wednesday, May 15, 2019 12:15:39 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 21,568
Hi,

This most likely has to do with the contents of the your HTML and partial Urls. For example, if you use LoadHtml("<video src='test.mp4' />") then the browser engine will not know which server it should connect to get "test.mp4" because "test.mp4" is a partial Url and it needs be used with a "base Url" to form the full Url, were as "base Url" does not exist when you use LoadHtml.

Thanks!
Anil Kumar Dasari
Posted: Tuesday, May 21, 2019 6:41:41 AM
Rank: Newbie
Groups: Member

Joined: 5/21/2019
Posts: 3
eo_support wrote:




Why Mp4 requires the proprietary enabling whereas the chrome browser support its natively?
eo_support
Posted: Tuesday, May 21, 2019 9:19:16 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 21,568
Anil Kumar Dasari wrote:
eo_support wrote:




Why Mp4 requires the proprietary enabling whereas the chrome browser support its natively?


Please read the link again.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.