Commit Graph

139 Commits

Author SHA1 Message Date
Toad06 4ed2470068 web: Fix possible issue with iframe elements no longer existing in the DOM 2020-12-09 17:01:20 -08:00
Toad06 1e61093e32 web: Fix issues with iframe polyfill 2020-12-09 17:01:20 -08:00
techboyg5 021194875a Open shadow DOM 2020-12-07 17:57:15 -08:00
Toad06 fc565e2cd6 web: Don't polyfill an object tag if it already contains a ruffle-embed 2020-11-28 14:43:39 -08:00
IWumboYouWumbo b6c0809224 web: Explicitly define font size of context menu 2020-11-27 15:44:24 -08:00
Mike Welsh e66fc6f6a1 web: Avoid double polyfilling embed-inside-object 2020-11-26 18:19:57 -08:00
IWumboYouWumbo 9501ff06b0
web: Refinements to meta user interface (attempt 2)
- Fonts are no longer inherited, Arial is used instead
- Play button is smaller and shares same styling as unmute button
- Context menu text is always aligned to the left
- Panic screen text displays in white instead of black (it's much easier to read this way)
- CSS is cleaner and less redundant
I'm iffy on the changes to the play button aesthetic (it ranges from translucent -> opaque instead of opaque -> brighter opaque) so opinions are welcome.
- Fixed context menu hover issue, added drop shadow
- More redundancy fixes
2020-11-25 20:49:38 -08:00
Nathan Adams c13d5e349b web: Move autoplay/unmuteOverlay from Config to BaseLoadOptions - and made config default the load options 2020-11-25 11:33:51 -08:00
Nathan Adams 797dd83766 web: Merge streamSwfUrl and streamSwfData into load 2020-11-25 11:33:51 -08:00
Nathan Adams a02a81f80f web: Fixed extension & local not detecting eachother correctly 2020-11-24 16:36:33 -08:00
Nathan Adams bcfe59c351 web: Rename Config.public_paths to Config.publicPaths 2020-11-24 16:36:33 -08:00
Nathan Adams 707788218d web: Rename Config.public_path to Config.publicPath 2020-11-24 16:36:33 -08:00
Nathan Adams 103f0d69e8 web: Default autoplay to 'auto' 2020-11-24 16:36:33 -08:00
Nathan Adams cc81122fd8 web: Make sure player config takes priority over global config 2020-11-24 16:36:33 -08:00
Nathan Adams 799c0955b3 web: Add options for autoplay
This is a rewritten version of PR #1161 by Toad06
2020-11-24 16:36:33 -08:00
Nathan Adams a03b2fdea6 web: Add mute overlay
Original code by Toad06 as part of PR #1161
2020-11-24 16:36:33 -08:00
Nathan Adams 3e084963c6 web: Embed build/version info inside the js 2020-11-24 16:36:33 -08:00
Nathan Adams 10db305988 web: Enforce (sensible) documentation 2020-11-24 16:36:33 -08:00
Nathan Adams f1eabe1594 web: Rename install_plugin to installPlugin 2020-11-24 16:36:33 -08:00
Nathan Adams 6a9d0f64e9 web: Rename load_ruffle to loadRuffle 2020-11-24 16:36:33 -08:00
Nathan Adams 8c36e02dc5 web: Rename fetch_ruffle to fetchRuffle 2020-11-24 16:36:33 -08:00
Nathan Adams 41bf30efc8 web: Rename public_path to publicPath 2020-11-24 16:36:33 -08:00
Nathan Adams bccdaf77d4 web: Enforce camelCase 2020-11-24 16:36:33 -08:00
Nathan Adams 1519642a9a web: Fix documentation and warnings inside plugin-polyfill 2020-11-24 16:36:33 -08:00
Nathan Adams 48aa26460d web: Rename methods/variables inside polyfills to be camelCase 2020-11-24 16:36:33 -08:00
Nathan Adams 1bf4f5c4e4 web: Rename plugin_polyfill to pluginPolyfill 2020-11-24 16:36:33 -08:00
Nathan Adams dcf2b712b2 web: Fix documentation and warnings in polyfills 2020-11-24 16:36:33 -08:00
Nathan Adams d2d8bc6f01 web: Properly document and define window.RufflePlayer 2020-11-24 16:36:33 -08:00
Nathan Adams 2c952e954d web: Renamed fields and variables inside PublicAPI to camelCase 2020-11-24 16:36:33 -08:00
Nathan Adams 950d19d1c5 web: Allow taking in "conflict" APIs 2020-11-24 16:36:33 -08:00
Nathan Adams af01621484 web: Rename PublicAPI.local_compatible to PublicAPI.localCompatible 2020-11-24 16:36:33 -08:00
Nathan Adams 980590cf96 web: Rename PublicAPI.newest_source_name to PublicAPI.newestSourceName 2020-11-24 16:36:33 -08:00
Nathan Adams d6afe2edd3 web: Rename PublicAPI.register_source to PublicAPI.registerSource 2020-11-24 16:36:33 -08:00
Nathan Adams f4a710c806 web: Make PublicAPI use Config 2020-11-24 16:36:33 -08:00
Nathan Adams 96d3c30b5e web: Move Config to its own file 2020-11-24 16:36:33 -08:00
Nathan Adams 456557ec20 web: Fix documentation and warnings in PublicAPI 2020-11-24 16:36:33 -08:00
Nathan Adams 5f02ee3ab8 web: Fixed documentation and warnings inside public-path 2020-11-24 16:36:33 -08:00
Nathan Adams ca96553cf0 web: Rename register_element to registerElement 2020-11-24 16:36:33 -08:00
Nathan Adams 32abd35642 web: Changed variables inside RuffleEmbled to be camelCase 2020-11-24 16:36:33 -08:00
Nathan Adams 5a1fb5fba1 web: Rename RuffleEmbed.from_native_embed_element to
RuffleEmbed.fromNativeEmbedElement
2020-11-24 16:36:33 -08:00
Nathan Adams f1b05716dd web: Rename RuffleEmbed.is_interdictable to RuffleEmbed.isInterdictable 2020-11-24 16:36:33 -08:00
Nathan Adams 868548ddc6 web: Fixed documentation and warnings inside RuffleEmbed 2020-11-24 16:36:33 -08:00
Nathan Adams 976ef86da7 web: Rename variables in RuffleObject to camelCase 2020-11-24 16:36:33 -08:00
Nathan Adams 9f8dd465ae web: Rename RuffleObject.from_native_object_element to
RuffleObject.fromNativeObjectElement
2020-11-24 16:36:33 -08:00
Nathan Adams 9633073c1f web: Rename RuffleObject.is_interdictable to
RuffleObject.isInterdictable
2020-11-24 16:36:33 -08:00
Nathan Adams 879fa53417 web: Ignore ruffle-imports, it's not an API 2020-11-24 16:36:33 -08:00
Nathan Adams 5b5091b4b9 web: Rename copy_to_audio_buffer to copyToAudioBuffer 2020-11-24 16:36:33 -08:00
Nathan Adams 68ffc95348 web: Move RuffleObject.params_of to paramsOf (no longer a static member) 2020-11-24 16:36:33 -08:00
Nathan Adams 3faf09696d web: Move RuffleObject.find_case_insensitive to findCaseInsensitive (no
longer a static member)
2020-11-24 16:36:33 -08:00
Nathan Adams f44f2ea9db web: Fix documentation and warnings in RuffleObject 2020-11-24 16:36:33 -08:00