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 6032233
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T05:18:13+00:00 2026-05-23T05:18:13+00:00

I cannot get the Brightcove video player to work on Web pages using the

  • 0

I cannot get the Brightcove video player to work on Web pages using the Jquery Mobile framework. I set up a few simple test pages to illustrate the problem:

http://www.lawruk.com/test/brightcove-jquery-mobile.htm

When you click on the Video 1 and Video 2 links, the video player is not displayed MOST of the time. Sometimes the video loads, which makes me think it is a JavaScript timing issue.

The video player does work on the video pages individually.

http://www.lawruk.com/test/1.htm

http://www.lawruk.com/test/2.htm

In Firebug I noticed the tag representing the video is present in the DOM but grayed out. I am using Firefox to test this.

When I test this using Safari from an ITouch, the video player appears, but displays an error message. “The video you are trying to watch is currently unavailable. Please check back soon.”

I’m not really sure if this is a Jquery Mobile limitation or if the Brightcove JavaScript does not play well with Jquery Mobile.

Any clever workarounds?

  • 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-05-23T05:18:14+00:00Added an answer on May 23, 2026 at 5:18 am

    As naugtur mentioned, the BrightCove script listens for a “load” or “DOMContentLoaded” event to be fired, which then calls the method createExperiencesPostLoad(). Jquery Mobile loads new pages via Ajax, so a load event like this is not going to fire during a page transition. Jquery Mobile fortunately provides us with a “pageshow” event that fires after a page transition completes, so we can call the createExperiencesPostLoad() method after a “pageshow” event.

    <script language="JavaScript" type="text/javascript">
        $('div').live('pageshow', function(event) {
            if ($('#my-video-player-container').is(':visible')) {
                brightcove.createExperiencesPostLoad();
            }
        }); 
    </script>
    

    Please note that in this example, the player is contained within a div with the id “my-video-player-container”. I am checking that it is visible before calling the method. You will have to change this to suit your code. This method could potentially get called twice, but better twice than never.

    Link to a working version:http://www.lawruk.com/test/brightcove-jquery-mobile-fix.htm

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

Sidebar

Related Questions

I cannot get the internet explorer web developer tool bar to work with a
I cannot get the jQuery slideDown function to work on <table> elements. They just
Cannot get this to work. First time using variables passed into functions. Unchecking radio
I cannot get a two-way bind in WPF to work. I have a string
I cannot get Bindable LINQ to work with VB.NET for the life of me.
I cannot get the DropDownHeight of the ComboBox set properly to display all the
I cannot get execv() to work in my C program. I suspect the problem
I cannot get the latest SubSonic with SQLite ActiveRecord to work. I grabbed the
I cannot get wxErlang to work at all. Do i need to include a
I cannot get this to work. I have opened a SQL Server Express table

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.