Closed
Bug 977599
Opened 12 years ago
Closed 10 years ago
blob urls does not work with flash
Categories
(Core Graveyard :: Plug-ins, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: vytautas.barkauskas, Unassigned)
Details
(Keywords: flashplayer)
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0 (Beta/Release)
Build ID: 20131205075310
Steps to reproduce:
Created Blob from swf file with mime type application/x-shockwave-flash
Created blob url using URL.createObjectURL
Tried to show that flash animation using embed element
Actual results:
Flash animation did not play as it did in Google Chrome. Just white rectangle was displayed.
Expected results:
Flash animation would be displayed.
Comment 1•12 years ago
|
||
Same problem in newer build of Mac, and Windows.
Mac:
navigator.userAgent
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:30.0) Gecko/20100101 Firefox/30.0"
navigator.buildID
"20140605174243"
Windows:
navigator.userAgent
"Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0"
navigator.buildID
"20140331125246"
Comment 2•10 years ago
|
||
Hi reporter,
Could you please provide a simplified testcase for this issue so that I can test your issue on my end?
Also please try to reproduce this on the latest release(43.0.4) and/or the latest Nightly (https://nightly.mozilla.org/) and provide the results. When doing this, please try to reproduce with a new clean Firefox profile, maybe even in safe mode, as some of this issues may be caused by third party installed add-ons or custom settings(https://support.mozilla.org/en-US/kb/troubleshoot-and-diagnose-firefox-problems).
Thanks,
Cipri
Flags: needinfo?(vytautas.barkauskas)
Comment 3•10 years ago
|
||
Hi Cipri,
Thank you for checking issue.
I prepare sample html including JavaScript, simplified my use-case.
Swfobject.js is https://github.com/swfobject/swfobject/blob/2.2/swfobject/swfobject.js (version 2.2).
I checked in Firefox44.0, and Chrome 48.0, both on Mac.
Steps:
1. Select local swf file.
Actual results:
Nothing would be displayed.
Expected results:
Swf content would be displayed (and played).
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
<script type="text/javascript" src="./swfobject.js"></script>
</head>
<body>
<div id="swf-container"></div>
<input type="file" name="file" />
<script type="text/javascript">
var fileInput = document.querySelector( "input[name=file]" )
fileInput.addEventListener(
"change",
function( event ) {
var url = URL.createObjectURL( fileInput.files[ 0 ] );
swfobject.embedSWF( url, "swf-container", "100%", "100%", "9.0.0" );
},
false
);
</script>
</body>
</html>
Updated•10 years ago
|
Comment 4•10 years ago
|
||
Plugins are a legacy technology and Blob URLs are new. I bet this is tripping up in a protocol whitelist within Flash, but in any case this is not something we are going to fix.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
Updated•10 years ago
|
Flags: needinfo?(vytautas.barkauskas)
Comment 5•10 years ago
|
||
Thanks!
Updated•4 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•