cloudtrends / chromiumembedded

Automatically exported from code.google.com/p/chromiumembedded
1 stars 1 forks source link

using jQuery load() function to start video loading does not trigger HandleBeforeResourceLoad() #153

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. in javascript, we set attributes for an object using jQuery
2. then load the video element in the background so it doesnt tie up the page.

example:
if(section == "videos") {
    $(this).attr('autoplay','true');
    $(this).load();
}

It appears that the jQuery attempts to start loading the video content outside 
of the notification framework for normal HTML resources.  I do not get an 
invocation of HandleBeforeResourceLoad() in this case.

Not sure precisely what is happening here other than HandleBeforeResourceLoad() 
is getting invoked nicely for all other resources.  We need this to work for 
all resources so that we can proxy it from a proprietary cache.

Original issue reported on code.google.com by vince.pr...@gmail.com on 9 Dec 2010 at 7:39

GoogleCodeExporter commented 9 years ago
Does the video load successfully in cases where you don't need to intercept the 
resource load (for example, loading the video from a Web server)? Can you 
create a simple test case that we can use to reproduce the problem?

Original comment by magreenb...@gmail.com on 11 Dec 2010 at 1:44

GoogleCodeExporter commented 9 years ago
Closing this issue due to lack of response from the original poster.

Original comment by magreenb...@gmail.com on 11 May 2011 at 7:13