Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8642955
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T11:54:40+00:00 2026-06-12T11:54:40+00:00

I am upgrading my flash-only code to support the Brightcove Smart Player so it

  • 0

I am upgrading my flash-only code to support the Brightcove Smart Player so it auto switch between HTML5.

I have been able to get the single video player switched over without problem. In the existing code, I can simulate a playlist by loading multiple videoIDs in javascript. My users do not create playlists in Brightcove. They can enter the videoIDs in our CMS and I load them dynamically.

Here is the old code:

function onTemplateReady(e) {
    videoList = exp.getElementByID("videoList");
    if (videoList != null) {
        var mediaIdsToRequest = videoIDs;
        content.getMediaInGroupAsynch(mediaIdsToRequest);
    }
    videoLoading = false;

}

function onMediaCollectionLoad(e) {

    if (e.mediaCollection != null) { // This means the mediaCollection is a Playlist or group of videos
        var mediaDTOs = new Array();
        for (var i = 0; i < e.mediaCollection.mediaCount; i++) {
            mediaDTOs[i] = content.getMedia(e.mediaCollection.mediaIds[i]);
        }
        videoList.setData(mediaDTOs);

        // Visually selects the first video in the list
        videoList.setSelectedIndex(0);

        // Cues up the first video of the list in the videoPlayer component but doesn't start playing it
        video.cueVideo(mediaDTOs[0].id);
    }

}

We basically include a parameter called videoList that is a comma separated list of videoIDs. The problem seems to be that the MEDIA_COLLECTION_LOAD event is not in the new API. What is the recommend way to do this now?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T11:54:41+00:00Added an answer on June 12, 2026 at 11:54 am

    It seems that this is not supported in the new Smart Player API per Brightcove Support. You can build your own playlists in HTML now however, you cannot feed individual videos into an existing playlist player.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have inherited some really old VC6.0 code that I am upgrading to VS2008
I've been reading about the security restrictions for file uploads in Flash Player 10.
I've simplified my code for uploading a file without iFrame or flash engine, and
I have a flash embedded, it is required for uploading a file and i
After upgrading to a newer hibernate version (guess it came with the switch from
After upgrading to 12.04, my Eclipse that I had since 11.10 has been full
I have been using Uploadify in my PHP application for the last couple months,
I have developed an image uploading application that uses Flash to load an image,
I have a problem I've been dealing with lately. My application asks its users
I have written a simple upload component in Flash, but I am now having

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.