We are trying to display a video where upon template load, the viewer can initiate different cue points in the video by clicking on different thumbnails. The problem is that this doesn't work unless the video is already playing, and we don't want it to play automatically on page load. Is there a way to have the video start to play on template load and immediately pause? We have tried the pause() method within onTemplateLoaded and onTemplateReady functions with no luck.
How to pause an Brightcove video with autostart parameter immediately after page load?
2.1k Views Asked by don_jacuzzi At
1
There are 1 best solutions below
Related Questions in JAVASCRIPT
- Using Puppeteer to scrape a public API only when the data changes
- inline SVG text (js)
- An array of images and a for loop display the buttons. How to assign each button to open its own block by name?
- Storing the preferred font-size in localStorage
- Simple movie API request not showing up in the console log
- Authenticate Flask rest API
- Deploying sveltekit app with gunjs on vercel throws cannot find module './lib/text-encoding'
- How to request administrator rights?
- mp4 embedded videos within github pages website not loading
- Scrimba tutorial was working, suddenly stopped even trying the default
- In Datatables, start value resets to 0, when column sorting
- How do I link two models in mongoose?
- parameter values only being sent to certain columns in google sheet?
- Run main several times of wasm in browser
- Variable inside a Variable, not updating
Related Questions in VIDEO
- Media player stops about every 5 minutes
- Video Format is not supported or source is unavailable. - Opera
- How to get text and other elements to display over the Video in Tkinter?
- Can I use local resources for mp4 playback?
- Merge (concat) all video file present in '43. DP (Part1)' and put it into '43. DP (Part1)' and give name merged (concat) file to folder name
- Google Chrome is consuming a lot of CPU on a video call?
- How do I automate a video download with Selenium and Python (Meta Quest Store Trailer Download)
- Safari skipping 5 seconds into react-player video - anyone have experience with this?
- Why is toDataURL() returning blank image? (with p5 video)
- How do I circular crop using matlab?
- Cannot find 'IsacCodec' in scope
- playing multiple videos with libvlcsharp on multiple monitors
- Video controls are hidden behind input feature?
- Anyone around Good at both Javascript and Youtube api?, I am using lite-youtube js and I am confused in adding an eventlistener for onStateChange
- videos are resizing themselves while scrolling
Related Questions in DOM-EVENTS
- How to listen for LightDOM Label "FOR=" events via ShadowDOM Custom Element
- Removing the beforeunload event does not work in React
- event handling for overlapping polygons in google maps
- EventListener is not being added to button elements
- Why is the blur event listener fired twice for the same element with contenteditable in this case?
- Popover API: Event bubbling not working on beforetoggle event?
- An HTML Link Element ("a") Refuses to Attach Itself to Event Listener
- "contextmenu" Event interrupts "onmousemove" from executing a function
- handling the cancel of window.onbeforeunload prompt
- How to appendchild() using drag drop with 2 hierarchically equal divs? using Typescript
- ResizeObserver callback is not being fired when rotated device two times
- How to append an element to a specific div - Vanilla JS?
- How to make every subsequent sibling after a button-wrapper disappear and restore their visibility again by pressing this very button?
- brush overlaps events on other elements
- Rotating chevron in accordion in javascript
Related Questions in BRIGHTCOVE
- How to pass policyKey to Brightcove react-player-loader?
- React native Broghtcove player iOS getting crash after react-navigation v6 upgrade
- Find timespent Brightcove embed code in iframe
- BrightCove video didn't download properly : Android
- How to add pending intent in notification BrightCoveOS
- Nuxt 3 / Vite Brightcove player?
- Receiving callbacks on Audio/Video Stream being Played and Paused in Android WebView
- React BrightCove Player
- Stop the autoplay in swiper slider when the video is playing and move to next slide when video is paused or ended
- How can I ignore implicitly any type when importing js module?
- Mute the video on clicking the swiper next or swiper prev button in brightcove player
- java.lang.NoSuchMethodError: No virtual method setParameters(Lcom/google/android/exoplayer2/trackselection/DefaultTrackSelector$Paramet
- Brightcove video player not playing DRM enabled videos in Android
- How to play a video from a particular timestamp when user clicks on a button in Brightcove
- Android studio Bintray 502 bad gateway
Related Questions in MEDIAPLAYBACK
- how to remove thumbnail toolbar in UWP
- Android 13 playbackstate callback not called ( from notification buttons)
- How to speed up youtube's videos more than 16x with javascript?
- How to detect if play back buttons are clicked in xamarin forms
- Android Media session playbackstate doesn’t notify position updates
- Play 360 live video stream
- UWP: MediaPlaybackItem get ViewModel
- Raspberry Pi + Bluez + A2DP + AVRCP
- Exoplayer video Transition from one activity to other without stopping plaback
- MPMusicPlayerController won't seek to given playbackTime
- Custom UI for UWP Background Media Playback
- MediaPlayer error: The byte stream type of the given URL is unsupported. (Exception from HRESULT: 0xC00D36C4)
- Android TV: PlaybackControlsRow action long press
- Android MediaPlayer - setPlaybackParams throws a security exception
- Android: Things I am not clear about MediaSessionManager and RemoteController
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I was banging my head against the wall on this question too. I used a lot of example code from http://docs.brightcove.com/en/video-cloud/smart-player-api/solutions/chaptered-video.html
You should be able to videoPlayer.play() the video somewhere in onTemplateReady and call videoPlayer.pause(true) on onMediaBegin following along with the example code.
This worked for me on the desktop but not for mobile.