Fix local swf files working in Chrome for good!
My simple html-swf batch file
Bat To Exe Converter (so we can have icons)
Resource Hacker (so you can add all the icon resolutions)
Don’t forget to set the htmlswf.exe as the default app for swf files.
(By right clicking an swf file and selecting always open with htmlswf.exe)
if you need extra help doing that for some reason…
1. Open Control Panel.
2. Click, Programs.
3. Click, Make a file type always open in a specific program.
4. Find .swf and click Change Program.
5. Click More Apps, then Look for another app on this PC.
6. Find where you put htmlswf.exe and choose it.
any other help needing, please ask. c-ya 😉
Nguồn:https://curbjumperstreeteats.com/
Xem thêm Bài Viết:
- Mách nước cách mở wifi trên laptop lenovo nhanh, đơn giản cho những ai chưa biết
- Góc chia sẻ: Cách tắt tường lửa win 7 nhanh và chi tiết nhất
- Mẹo đăng ký wechat không cần quét mã
- 4 bước và bạn sẽ hoàn tất cài đặt google authenticator trên máy tính
- Bật mí 3 bước hoàn tất kiểu tra bảo hành ổ cứng seagate
You should make this easier to understand (do the thing from scratch maybe?)
I got it JUST enough to understand
The bat-exe converter ink doesnt work try this
https://bit.ly/2pIgByT
what am i supposed to do in the website
I just downloaded a legacy chromium installer and deleted the updater executable before launching
thanks for the batch
😐
Your video should be minute long!
Just to those few steps:
1. Create .txt file
2.Rename it to .html
3. Open it and write there
<style>body{margin:0;height:100%}</style><embed src="FILE PATH!!!!!" width="100%" height="100%">
4. Open it and allow for a flash player to work!
THAT's IT!!!
why can't browser developers just let people run their files? like wtf chrome.
i cant see that tiny text even with my glasses on
I watched the whole thing and i didn't get anything AT ALL
starrdew valley music
Instructions to make with Java instead. (to avoid finding a good safe bat to exe converter)
http://www.mediafire.com/file/ll1mya9no7qb1zf/htmlswf.rar (or my download)
public static void main(String[] args) {
if(args.length==0) return; // opened without file
File swf = new File(args[0]); // input file
// same as my batch below (2:04)
File savedir = new File(System.getProperty("java.io.tmpdir"),"htmlswf"); // temp folder
savedir.mkdirs(); // make sure folder exists
File savefile = new File(savedir,swf.getName()+".html"); // temp file
String html = "<style>body{margin:0;height:100%}</style><embed src=""+swf+""width="100%"height="100%">";
try(FileWriter fw=new FileWriter(savefile)){fw.write(html);}catch(Exception e){} // write html
try{Desktop.getDesktop().browse(savefile.toURI());}catch(Exception e){} // open file
}
compile this to runnable jar
convert jar to exe with Launch4j
add icons with resource hacker
Action > Add from a Resource File > (.res, .dll, .exe)
find chrome.exe (C:Program Files (x86)GoogleChromeApplicationchrome.exe)
expand "Icon Group", tick "IDR_MAINFRAME" and import
save as new exe in a new directory
this did not work for me, am having problems with videos from certain websites not playing, as well as not being able to play games on websites.
Thank you sooooo much
its just a black screen for me
Great solution!
But the Bat-To-Exe from f2ko.de has a trojan, I made this with the good knowed Advanced Bat to Exec Converter 4.11 and no problem with Windows Defender or Bitdefender.
I bypass the Resource Hacker thing, just downloaded a SWF ico file from internet, then load this on the converter.
Thanks!
Thnx i really needed this solution
Thanks!
I know this isn’t related to this video but are you still working on python Minecraft? Also can you do a tutorial series with python and OpenGL I watched your other one on the aiden series but it was a bit to fast paced if you do a tutorial series could you do 2 starting with 2d OpenGL and going to 3d I’m asking a lot lol even one of those things I asked would be sick have a great day sincerely Zach…
all this is for, is so we don't have to waste our own time writing a html page for every swf file.
we can tell the computer to do it for us instantly.
this isn't specific to chrome. it just opens your default browser.
so anyway, another title for this could also be, "Automated html generator for swf files".
I was looking for a solution to this. Thanks Aiden!
Nice video.