From bf79b9164f8d530a94e338725f795ec5a5c7b278 Mon Sep 17 00:00:00 2001 From: Paul Berberian Date: Wed, 24 Jan 2024 16:55:54 +0100 Subject: [PATCH] doc: Remove now inexistant option to get DASH_WASM file --- doc/api/Miscellaneous/DASH_WASM_Parser.md | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/doc/api/Miscellaneous/DASH_WASM_Parser.md b/doc/api/Miscellaneous/DASH_WASM_Parser.md index 1c024ff444..4e80328682 100644 --- a/doc/api/Miscellaneous/DASH_WASM_Parser.md +++ b/doc/api/Miscellaneous/DASH_WASM_Parser.md @@ -119,22 +119,6 @@ You can find it at any of the following places: probably in `node_modules/rx-player/dist/mpd-parser.wasm` depending on your project). -- Alternatively, if you don't want to store and serve this files yourselve, - it may be imported as URL through the - `"rx-player/experimental/inline-mpd-parser"` import path: - ```js - import RxPlayer from "rx-player/minimal"; - import RxPlayerDashWasmUrl from "rx-player/experimental/inline-mpd-parser"; - import { DASH_WASM } from "rx-player/experimental/features"; - - DASH_WASM.initialize({ wasmUrl: RxPlayerDashWasmUrl }); - RxPlayer.addFeatures([DASH_WASM]); - ``` - - Note however than including this import in your build risk to drastically - increase your bundle's size. The preferred way is for you to rely on this - file through the other means listed. - Once you've retrieved the right WebAssembly file linked to your RxPlayer version, you will need to store it and give its URL to the RxPlayer so it will be able to load it (the embedded version may be used directly instead, like an