Skip to content

Commit

Permalink
web: Move the players to internal/player
Browse files Browse the repository at this point in the history
  • Loading branch information
Dinnerbone committed Jul 30, 2024
1 parent fa3dc75 commit 521b23c
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import {
isFallbackElement,
isYoutubeFlashSource,
workaroundYoutubeMixedContent,
} from "./internal/player/inner";
import { registerElement } from "./internal/register-element";
import { isSwf } from "./swf-utils";
} from "./inner";
import { registerElement } from "../register-element";
import { isSwf } from "../../swf-utils";

/**
* A polyfill html element.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import {
isFallbackElement,
isYoutubeFlashSource,
workaroundYoutubeMixedContent,
} from "./internal/player/inner";
import { FLASH_ACTIVEX_CLASSID } from "./flash-identifiers";
import { registerElement } from "./internal/register-element";
} from "./inner";
import { FLASH_ACTIVEX_CLASSID } from "../../flash-identifiers";
import { registerElement } from "../register-element";
import { RuffleEmbed } from "./ruffle-embed";
import { isSwf } from "./swf-utils";
import { isSwf } from "../../swf-utils";

/**
* Find and return the first value in obj with the given key.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { DataLoadOptions, URLLoadOptions } from "./load-options";
import type { MovieMetadata } from "./movie-metadata";
import { InnerPlayer, ReadyState } from "./internal/player/inner";
import { Player } from "./public/player";
import type { DataLoadOptions, URLLoadOptions } from "../../load-options";
import type { MovieMetadata } from "../../movie-metadata";
import { InnerPlayer, ReadyState } from "./inner";
import { Player } from "../../public/player";

/**
* The ruffle player element that should be inserted onto the page.
Expand Down
4 changes: 2 additions & 2 deletions web/packages/core/src/polyfills.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { RuffleObject } from "./ruffle-object";
import { RuffleEmbed } from "./ruffle-embed";
import { RuffleObject } from "./internal/player/ruffle-object";
import { RuffleEmbed } from "./internal/player/ruffle-embed";
import { installPlugin, FLASH_PLUGIN } from "./plugin-polyfill";
import { publicPath } from "./public-path";
import type { DataLoadOptions, URLLoadOptions } from "./load-options";
Expand Down
2 changes: 1 addition & 1 deletion web/packages/core/src/source-api.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { pluginPolyfill, polyfill } from "./polyfills";
import { registerElement } from "./internal/register-element";
import { RufflePlayer } from "./ruffle-player";
import { RufflePlayer } from "./internal/player/ruffle-player";
import { buildInfo } from "./build-info";
import { InstallationOptions } from "./install";
import { Player } from "./public/player";
Expand Down

0 comments on commit 521b23c

Please sign in to comment.