Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

For a native HTML <video> element, set its src to the new media URL and call load(). If the player is controlled by a library or hosted provider, change the source through that player’s documented API instead; changing a URL in the DOM alone may not update the playback engine.

Change the source on a native HTML video element

When the URL points directly to media the browser can play, assign it to the video element and call load():

const video = document.querySelector("video");
video.src = nextUrl;
video.load();

load() resets the media element and begins selecting or loading a resource from its src or child <source> elements. MDN describes it as generally useful after changing those sources dynamically: HTMLMediaElement.load().

If the video uses child source elements

Update the child elements, then call load() on their parent <video>. For example:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Replace Remote Controller Compatible with Craig Portable CD DVD Video
  • Replace Remote Controller Compatible with Craig Portable CD DVD Video Player CVD401A CVD512A
  • works right out of the package;no need to setup;
  • Battery needed: two Pcs AAA Batteries;
const video = document.querySelector("video");
video.querySelector("source").src = nextUrl;
video.load();

With multiple candidate files, update the relevant <source> elements before loading so the browser can choose from the revised set. The native Video.js component reference also distinguishes a single URL on src from candidate formats supplied as child <source> elements: Video.js player API.

Choose the source-changing method for your player

Playback setup Recommended method Important detail
Native <video> with a direct media URL Set video.src, then call video.load(). The browser re-evaluates the media element’s source options. MDN
Native <video> with multiple candidate files Update its child <source> elements, then call video.load(). Call load() on the containing video element. Video.js API reference
Video.js React component Update the documented source or src property. A structured source can include URL, media type, and playback settings; replacing the object may drop omitted properties. Video.js React documentation Video.js React repository
HLS, DASH, or hosted provider Use the relevant player adapter or provider API. The URL may be a manifest or provider identifier rather than a directly playable file. ReactPlayer repository Vimeo Player SDK

Update a framework-managed player through its API

A React component or JavaScript player may own source state, playback-engine configuration, and the underlying media element. In that case, change the source input exposed by the component rather than modifying an internal URL that the library may overwrite or ignore.

Rank #2
NB179UD NB179 Replaced Remote fit for Magnavox DVD VCR Player MWD2205
  • NB179UD NB179 Replaced Remote, fit for Magnavox DVD VCR Player: MWD2205 MWD2206 CMWD2206 MWD2206A
  • Replaces remote control: NB179UD, NB183UD, NB100UD, NB101UD, NB150UD, NB161UD and NB177UD, NB129UD;
  • no programming needed;
  • Battery type it needed: two AA;

Video.js React source objects

Video.js React treats a new source object as a replacement: if the next object leaves out a previously used type or engine option, that setting is no longer part of the new source configuration. Include the properties the selected source needs, or use the documented src property when only the URL should change while retaining the type and engine options. The library’s behavior is specific to Video.js React, not a rule for every player. See its documentation and repository.

HLS, DASH, and hosted video

Do not assume every player URL is a direct video file. HLS and DASH commonly use manifests handled by a playback engine, while services such as YouTube and Vimeo use provider-specific playback paths. ReactPlayer documents multiple backends, including native media, HLS, DASH, and hosted providers; its repository also describes version 3 source and track patterns that follow native <source> and <track> conventions. Check the major version installed in your application and follow its documentation: ReactPlayer repository. Vimeo playback should use the provider’s SDK where appropriate: Vimeo Player SDK.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
RMT-D197A Replace Remote Control fit for Sony DVD Player DVP-SR510H
  • AIDITIYMI RMT-D197A Replaced Remote Control Compatible with Sony CD DVD Player sub for RMT-D197P RMT-D198P remote (DOES NOT work with other brand devices); Please confirm this is the correct remote for your DVD model before buying, if you are not sure, you can contact us at any time, we will help you to check about it, thanks.
  • Compatible with Sony DVD Player DVP-SR510H DVP-SR210P DVP-SR510 DVP-SR210 DVP-SR201P DVP-SR405P DVPSR510H DVPSR210P DVPSR510 DVPSR210 DVPSR201P DVPSR405P
  • Remote Model: RMT-D197A. If your original remote model is not RMT-D197A, this is not correct remote for your dvd, it will not work with your dvd, please do not order it; If your original remote model is RMT-D197A, but not work with your dvd when you receive, remember install 2 new AA batteries, unplug then plug back power cable to restart your dvd, then try to use it again, if still not work, please contact us first, we will resolve the issue for you
  • This is a replacement IR remote controller, no programming or pairing required, just put into 2 new 1.5V AA alkaline batteries, then it will be available for use. IMPORTANT NOTES: This replaced remote only works with Sony CD/DVD player models we listed, it does not work with other Sony CD/DVD Player models or other brand devices
  • Package Content: 1 x IR Remote Control

Check playback behavior after switching

  • For native video, call load(). Updating a child <source> without loading the parent video leaves the source change unapplied to the element’s selection process. MDN
  • For library-managed playback, use the library’s source API. A framework can maintain state beyond the DOM property. Video.js React documentation
  • Keep required source metadata. When replacing a Video.js React source object, retain any required type, preferPlayback, or engine settings in the next object. Video.js React documentation
  • Confirm what kind of URL you have. A direct file, streaming manifest, and provider URL can require different playback routes. ReactPlayer repository
  • Handle resume position and autoplay explicitly. The documented reload behavior does not guarantee that time position or autoplay will be preserved across players. Implement continuity only if your chosen player documents it.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

What to expect when the source changes

Changing the source initiates a new resource-selection or playback path; it is not a universal promise that the new video will resume at the old timestamp or start automatically. If your interface should preserve a position, capture and restore it according to the behavior supported by the player you use. Autoplay is likewise a separate behavior to verify for that player and browser.

Quick Recap

Bestseller No. 1
Replace Remote Controller Compatible with Craig Portable CD DVD Video
Replace Remote Controller Compatible with Craig Portable CD DVD Video
works right out of the package;no need to setup;; Battery needed: two Pcs AAA Batteries;
$10.99
Bestseller No. 2
NB179UD NB179 Replaced Remote fit for Magnavox DVD VCR Player MWD2205
NB179UD NB179 Replaced Remote fit for Magnavox DVD VCR Player MWD2205
no programming needed;; Battery type it needed: two AA;
$7.56
Bestseller No. 3
RMT-D197A Replace Remote Control fit for Sony DVD Player DVP-SR510H
RMT-D197A Replace Remote Control fit for Sony DVD Player DVP-SR510H
Package Content: 1 x IR Remote Control
$6.35
Bestseller No. 4
RMT-V504A RMT-V501C Replace Remote Control fit for Sony DVD Player VCR
RMT-V504A RMT-V501C Replace Remote Control fit for Sony DVD Player VCR
no programming needed;; Battery type it needed: 2 x AA batteries;
$7.08
Bestseller No. 5
WC-SBC1 Replace Remote Control fit for Toshiba TV VCR DVD Video Player
WC-SBC1 Replace Remote Control fit for Toshiba TV VCR DVD Video Player
WC-SBC1 Replace Remote Control, fit for Toshiba TV VCR DVD Video Player Combo; Replacement works for TOSHIBA TV: MW14F51 MW20F51 MW24F51 MW27F51
$10.99
Best Value
WC-SBC1 Replace Remote Control fit for Toshiba TV VCR DVD Video Player
  • WC-SBC1 Replace Remote Control, fit for Toshiba TV VCR DVD Video Player Combo
  • Replacement works for TOSHIBA TV: MW14F51 MW20F51 MW24F51 MW27F51
  • Battery Type you need install : 2 x AAA
  • no programming needed;basic ir remote control;
Rank #4
RMT-V504A RMT-V501C Replace Remote Control fit for Sony DVD Player VCR
  • RMT-V501C Replace Remote Control, fit for Sony DVD Player/Video Cassette Recorder : SLV-D350P SLV-D550P SLV-D251P RMT-V501A SLV-D100 SLV-D281P SLV-D380P YSP-4000BL, Sub Remote RMT-V504A RMT-V501E RMT-V501D
  • no programming needed;
  • Battery type it needed: 2 x AA batteries;

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.