Skip to content

Commit

Permalink
Flash Quality Bug Fix
Browse files Browse the repository at this point in the history
* If you quality = high, it won't update the wmode.
  • Loading branch information
Zharay committed Apr 25, 2014
1 parent 308c380 commit 2c6a243
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 47 deletions.
5 changes: 1 addition & 4 deletions Grabacr07.KanColleViewer/App.config
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,7 @@
<setting name="FlashQualityJS" serializeAs="String">
<value>var flashQuality = function () {{
for (var objs = document.embeds, i = objs.length - 1; i &gt;= 0; i--) {{

if (objs[i].getAttribute('quality') == '{0}')
continue;


var embedElem = document.createElement('embed');
var parentElem = objs[i].parentNode;
embedElem.setAttribute('quality', '{0}');
Expand Down
77 changes: 38 additions & 39 deletions Grabacr07.KanColleViewer/Properties/Settings.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions Grabacr07.KanColleViewer/Properties/Settings.settings
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,7 @@
<Setting Name="FlashQualityJS" Type="System.String" Scope="Application">
<Value Profile="(Default)">var flashQuality = function () {{
for (var objs = document.embeds, i = objs.length - 1; i &gt;= 0; i--) {{

if (objs[i].getAttribute('quality') == '{0}')
continue;


var embedElem = document.createElement('embed');
var parentElem = objs[i].parentNode;
embedElem.setAttribute('quality', '{0}');
Expand Down

0 comments on commit 2c6a243

Please sign in to comment.