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
Nathan Adams
7bd4308c22
web: Renamed variables inside register-element to be camelCase
2020-11-24 16:36:33 -08:00
Nathan Adams
eaa6dc70f4
web: Rename Registration.internal_name to Registration.internalName
2020-11-24 16:36:33 -08:00
Nathan Adams
87d3bf57bd
web: Fixed documentation and warnings inside register_element
2020-11-24 16:36:33 -08:00
Nathan Adams
62ddc7c9cd
web: Rename lookup_element to lookupElement
2020-11-24 16:36:33 -08:00
Nathan Adams
5c1a8ecd94
web: Rename private_registry to privateRegistry
2020-11-24 16:36:33 -08:00
Nathan Adams
f8486f00f3
web: Rename RufflePlayer.sanitize_parameters to
...
RufflePlayer.sanitizeParameters
2020-11-24 16:36:33 -08:00
Nathan Adams
8b5f1eee2f
web: Rename all variables inside RufflePlayer to be camelCase
2020-11-24 16:36:33 -08:00
Nathan Adams
6e191f2893
web: Rename RufflePlayer.allow_script_access to
...
RufflePlayer.allowScriptAccess
2020-11-24 16:36:33 -08:00
Nathan Adams
1371a89d1a
web: Rename RufflePlayer.is_swf_filename to RufflePlayer.isSwfFilename
2020-11-24 16:36:33 -08:00
Nathan Adams
2e83dad798
web: Rename RufflePlayer.debug_player_info to
...
RufflePlayer.debugPlayerInfo
2020-11-24 16:36:33 -08:00
Nathan Adams
d21cb8473b
web: Rename RufflePlayer.trace_observer to RufflePlayer.traceObserver
2020-11-24 16:36:33 -08:00
Nathan Adams
3ad4c0f392
web: Rename RufflePlayer.on_callback_available to
...
RufflePlayer.onCallbackAvailable
2020-11-24 16:36:33 -08:00
Nathan Adams
8c7f728215
web: Rename RufflePlayer.html_dimension_to_css_dimension to
...
RufflePlayer.htmlDimensionToCssDimension
2020-11-24 16:36:33 -08:00
Nathan Adams
95a22c486d
web: Rename RufflePlayer.copy_element to RufflePlayer.copyElement
2020-11-24 16:36:33 -08:00
Nathan Adams
abb311670f
web: Rename RufflePlayer.play_swf_data to RufflePlayer.playSwfData
2020-11-24 16:36:33 -08:00
Nathan Adams
2e8e89c52b
web: Rename RufflePlayer.hide_right_click_menu to
...
RufflePlayer.hideRightClickMenu
2020-11-24 16:36:33 -08:00
Nathan Adams
85735d3a45
web: Rename RufflePlayer.open_right_click_menu to
...
RufflePlayer.openRightClickMenu
2020-11-24 16:36:33 -08:00
Nathan Adams
37ef9c15b4
web: Rename RufflePlayer.play_button_clicked to
...
RufflePlayer.playButtonClicked
2020-11-24 16:36:33 -08:00
Nathan Adams
4f297948d0
web: Rename RufflePlayer.stream_swf_url to RufflePlayer.streamSwfUrl
2020-11-24 16:36:33 -08:00
Nathan Adams
f692ee36a5
web: Rename RufflePlayer.ensure_fresh_instance to
...
RufflePlayer.ensureFreshInstance
2020-11-24 16:36:33 -08:00
Nathan Adams
4540b73d68
web: Rename RufflePlayer.is_unused_fallback_object to
...
RufflePlayer.isUnusedFallbackObject
2020-11-24 16:36:33 -08:00
Nathan Adams
d0030e6ea7
web: Rename RufflePlayer.update_styles to RufflePlayer.updateStyles
2020-11-24 16:36:33 -08:00
Nathan Adams
a25a298277
web: Fixed up documentation and return types inside RufflePlayer
2020-11-24 16:36:33 -08:00
Nathan Adams
96acde5445
web: Rename ShadowTemplate.ruffle_shadow_template to
...
ShadowTemplate.ruffleShadowTemplate
2020-11-24 16:36:33 -08:00
Nathan Adams
f869812464
web: Fixed up documentation and return types inside SourceAPI
2020-11-24 16:36:33 -08:00
Nathan Adams
bc3b6ade4e
web: Rename SourceAPI.create_player to SourceAPI.createPlayer
2020-11-24 16:36:33 -08:00
Nathan Adams
d6478c7d6a
web: Rename SourceAPI.plugin_polyfill to SourceAPI.pluginPolyfill
2020-11-24 16:36:33 -08:00
Nathan Adams
3a470b02cc
web: Fixed up documentation and return types inside SourceAPI
2020-11-24 16:36:33 -08:00
Nathan Adams
442e3f4f51
web: Renamed local variables inside VersionRange to be camelCase
2020-11-24 16:36:33 -08:00
Nathan Adams
8fab9e25b1
web: Rename VersionRange.from_requirement_string to
...
VersionRange.fromRequirementString
2020-11-24 16:36:33 -08:00
Nathan Adams
376aeef1af
web: Rename VersionRange.satisfied_by to VersionRange.satisfiedBy
2020-11-24 16:36:33 -08:00
Nathan Adams
77f7518cda
web: Fixed up documentation and return types inside VersionRange
2020-11-24 16:36:33 -08:00
Nathan Adams
cf8686a0b5
web: Renamed local variables inside Version to be camelCase
2020-11-24 16:36:33 -08:00
Nathan Adams
a0817e48b0
web: Rename Version.is_stable_or_compatible_prerelease to
...
Version.isStableOrCompatiblePrerelease
2020-11-24 16:36:33 -08:00
Nathan Adams
6952197004
web: Rename Version.is_equal to Version.isEqual
2020-11-24 16:36:33 -08:00
Nathan Adams
f3efc5c80a
web: Rename Version.has_precedence_over to Version.hasPrecedenceOver
2020-11-24 16:36:33 -08:00
Nathan Adams
ce6288fda8
web: Rename Version.is_compatible_with to Version.isCompatibleWith
2020-11-24 16:36:33 -08:00
Nathan Adams
d2e6ae50a9
web: Rename Version.from_semver to Version.fromSemver
2020-11-24 16:36:33 -08:00
Nathan Adams
548fe6d172
web: Rename Version.build_ident to Version.buildIdent
2020-11-24 16:36:33 -08:00
Nathan Adams
e5cd299009
web: Rename Version.pr_ident to Version.prIdent
2020-11-24 16:36:33 -08:00
Nathan Adams
022881f9c6
web: Fix up documentation in Version, resolved warnings
2020-11-24 16:36:33 -08:00
Nathan Adams
8abb8df299
web: core no longer uses webpack, but selfhosted still does
2020-11-24 16:36:33 -08:00
Nathan Adams
7701ef9c26
web: Make tests in core use typescript
2020-11-24 16:36:33 -08:00
Nathan Adams
5ff7168fe9
web: Switched core package from javascript to typescript
2020-11-24 16:36:33 -08:00
Will Brindle
13626f9578
demo: Fix play button centering ( fix #1669 )
2020-11-24 12:56:31 -08:00
relrelb
aa33832936
web: Improve context menu position
...
The maxX and maxY calculation assumed the player covers the whole
viewport. Now it takes into account rect.width and rect.height.
2020-11-21 12:46:06 -08:00
Nathan Adams
9015f77bdc
web: Fixed mime issue detection
2020-11-20 00:26:47 +01:00
relrelb
1674132b36
web: Use fullscreen helper methods
...
In order to be compatible with browsers that don't support the
standard Fullscreen API.
Co-authored-by: Sean-Thomas <sean-thomas@pocketonion.net>
2020-11-18 17:50:12 -08:00
relrelb
456ef1963e
web: Move border styling to CSS
2020-11-18 17:50:12 -08:00
relrelb
80ab00cdd6
web: Extract max{X,Y}
...
As a small refactoring to improve readability.
2020-11-18 17:50:12 -08:00
relrelb
1c0b167e20
Improve web context menu
2020-11-18 17:50:12 -08:00
relrelb
b987db010b
web: Add fullscreen context menu item
...
TODO: Retain focus on fullscreen enter/exit.
2020-11-18 17:50:12 -08:00
Nathan Adams
dab79107b2
web: Include git details into the build
2020-11-04 16:46:14 -08:00
Nathan Adams
d1c58b143f
web: Fix right click menu when scrolling - fixes #1484
2020-11-04 16:30:49 -08:00
Nathan Adams
a8759f45a1
web: Add specific error for invalid MIME type, with a link back to the wiki
2020-11-02 13:42:36 -08:00
Nathan Adams
ffb988026c
web: Fix positioning of right click menu
2020-11-01 05:52:40 -08:00
Nathan Adams
66eb645b68
web: Add basic right click menu, only has About Ruffle link so far
2020-10-29 13:27:28 -07:00
Nathan Adams
b7b67cacb2
web: Merge flashvars with swf url query vars
2020-10-12 15:28:16 -07:00
Nathan Adams
6b591269e9
web: Parse flashvars from swf urls
2020-10-12 15:28:16 -07:00
Nathan Adams
6d9155477c
core: Add flashvars support - #312
2020-10-12 15:28:16 -07:00
Toad06
1643d2335e
web: Correctly detect swf file extension
2020-10-09 12:25:37 -07:00
JustinCB
ce6b19f1b2
web: Add more try/catch's to stop error spam crashing sites
2020-10-08 23:35:33 -07:00
Sean-Thomas
6b54cc4311
web: Add pause method for web player
...
Adds a suspend_audio method to compliment prime_audio on WebAudioBackend, as well as logic in player.rs on the set_is_playing method to suspend audio when is_playing is set to false. Exposes pause method for the ruffle player in JavaScript with logic to display the play button when paused.
2020-09-29 11:05:23 -07:00
Luca Weiss
d5cb396331
*: fix spelling mistakes
2020-09-19 16:17:58 -07:00
Nathan Adams
e114282a4e
web: Implement Show Error Details for panics
2020-09-13 15:20:44 -07:00
Nathan Adams
69d1e903fb
web: Destroy shouldn't be able to throw exceptions
2020-09-13 15:20:44 -07:00
Nathan Adams
f05fba069d
web: Add basic panic screen
2020-09-13 15:20:44 -07:00
Nathan Adams
95275898c7
web: If ruffle panics, inform all instances (if possible) and poison future instances
2020-09-13 15:20:44 -07:00
Nathan Adams
4c6c8ee1f2
web: Add trace_observer to web api, which lets you capture trace output from a specific movie
2020-09-13 13:51:39 -07:00
Nathan Adams
4de2b7f3a0
web: Ensure exposed callbacks are on the <ruffle-player>
2020-09-03 18:17:44 -07:00
Nathan Adams
91cb597a79
web: Expose ExternalInterface callbacks on the player object, not the canvas
2020-09-03 18:17:44 -07:00
Nathan Adams
5880db43cd
web: Respect allowScriptAccess, which defaults to false for streaming or 'sameDomain' for objects
2020-09-03 18:17:44 -07:00
Nathan Adams
b5531a48d0
web: Allow reentrant ExternalInterface callbacks
2020-09-03 18:17:44 -07:00
Nathan Adams
a49e8d8587
web: Implement two-way communication with ExternalInterface
2020-09-03 18:17:44 -07:00
Mike Welsh
4f6af6428e
web: Prevent mouse/tap highlighting on player ( fix #861 )
2020-08-24 11:17:50 -07:00
JustinCB
3f1546ffc3
web: Add spl to flash filename check
2020-08-20 05:30:28 -07:00
JustinCB
a2968d6fd0
web: Change polyfills to single true/false setting
2020-08-13 00:46:58 -07:00
JustinCB
6535967b74
Fix files in wrong places & eslint errors
2020-07-29 17:06:51 -07:00
David Wendt
f56d16a68d
Separate player creation from root movie setup, and allow users of Ruffle to load in movies synchronously or asynchronously.
...
During the small period of time when a player is created but has no root movie, a temporary empty movie is installed with an assumed stage size and framerate of 550x400@12fps. This is Flash default for new projects, so it seemed appropriate. User ActionScript cannot see these values, and I'm not even sure JavaScript can, either.
2020-07-23 23:02:51 -04:00
JustinCB
8495e89a8b
web: Match case-insensitively in embeds
2020-07-14 09:12:36 -07:00
JustinCB
64c7d6e393
web: Polyfill if data attribute or movie param is a swf filename
2020-07-14 09:12:36 -07:00
JustinCB
ffba4c5a97
web: Match MIME type & clsid case-insensitively
2020-07-14 09:12:36 -07:00
JustinCB
4828945666
web: Fix frame polyfill
2020-05-26 23:56:36 -07:00
Nathan Adams
34927583be
web: Made VersionRange actually work, and add tests for it
2020-05-23 10:35:53 -07:00
Justin-CB
cbc2f6a03a
web: Avoid TypeError when instantiating polyfill ( fix #607 )
...
Co-authored-by: JustinCB <JustinCB@opmbx.org>
2020-05-20 12:42:54 -07:00
Nathan Adams
b0b54b59f9
web: Avoid any issues with parseInt("0...")
2020-05-19 11:42:56 +02:00
Nathan Adams
f3690db1bf
web: Fixed bug with broken comparisons in Version#is_compatible_with
2020-05-19 11:42:55 +02:00
Nathan Adams
11f68b90f9
web: Switch to using commonjs style require/exports
...
It looks like things still don't play nice with modules yet :(
2020-05-19 11:42:55 +02:00
Nathan Adams
b8e63045b2
web: Moved source of core into core/src, to prep for tests
2020-05-19 11:42:54 +02:00