Embed tag displays "Operation canceled" message

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.

Embed tag displays "Operation canceled" message

Postby tuma » Fri Jan 22, 2016 1:31 am

Hi,

I have integrated CEF 2357 with my application and seeing issues with <embed> tag. Below is my content.

<video controls>
<source src="Woodrow_Wilson_video_montage.ogg">
</video>
<embed src="Woodrow_Wilson_video_montage.ogg" />

with CEF 1650, it works fine. In CEF 2357, there is no issues in <video> tag. But content doesn't play in <embed> tag and shows "Operation Canceled" message.

Any pointer to understand / debug this issue will be helpful.
- tumapathy
tuma
Techie
 
Posts: 37
Joined: Fri May 11, 2012 3:26 am

Re: Embed tag displays "Operation canceled" message

Postby magreenblatt » Fri Jan 22, 2016 10:43 am

How does it behave in Google Chrome?
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Embed tag displays "Operation canceled" message

Postby tuma » Fri Jan 22, 2016 9:58 pm

It works fine in Chrome browser.
- tumapathy
tuma
Techie
 
Posts: 37
Joined: Fri May 11, 2012 3:26 am

Re: Embed tag displays "Operation canceled" message

Postby tuma » Fri Jan 29, 2016 5:53 am

When I debugged this issue, I got to know the below code throws error (net::ERR_ABORTED) to client code (comes through the CEF interface CefLoadHandler::OnLoadError). Where we are loading customized error string. If I just ignore this error, video plays fine.

Any idea why this error is being thrown from chromium, when things are playing well when it is ignored?

chromium\src\content\renderer\render_frame_impl.cc
----------------------------------------------------------------------------

void RenderFrameImpl::didFailLoad(blink::WebLocalFrame* frame,
const blink::WebURLError& error,
blink::WebHistoryCommitType commit_type) {
............
........
Send(new FrameHostMsg_DidFailLoadWithError(routing_id_,
failed_request.url(),
error.reason,
error_description));
}
- tumapathy
tuma
Techie
 
Posts: 37
Joined: Fri May 11, 2012 3:26 am

Re: Embed tag displays "Operation canceled" message

Postby magreenblatt » Fri Jan 29, 2016 11:15 am

What is the URL that receives ERR_ABORTED? You can see that ClientHandler::OnLoadError ignores the ERR_ABORTED condition: https://bitbucket.org/chromiumembedded/ ... ler.cc-450
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Embed tag displays "Operation canceled" message

Postby tuma » Mon Feb 01, 2016 1:07 am

I get this error for media URL "file:///C:/myWebSite/mp3/Woodrow_Wilson_video_montage.ogg". If I ignore this error (like ClientHandler), video plays fine.

Is it a bug?
- tumapathy
tuma
Techie
 
Posts: 37
Joined: Fri May 11, 2012 3:26 am

Re: Embed tag displays "Operation canceled" message

Postby magreenblatt » Mon Feb 01, 2016 11:55 am

tuma wrote:I get this error for media URL "file:///C:/myWebSite/mp3/Woodrow_Wilson_video_montage.ogg". If I ignore this error (like ClientHandler), video plays fine.

Is it a bug?

Probably not.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 94 guests