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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T19:41:58+00:00 2026-06-09T19:41:58+00:00

I have this java script that I use to display a video on a

  • 0

I have this java script that I use to display a video on a website. The video launches and plays fine on the website.
But when I insert the same javascript and put it in the string and try to load the video on an iPad Simulator, it gets stuck. Am I doing something wrong?

Code

NSMutableString *playerString = [[[NSMutableString alloc] init] autorelease];
        [playerString appendString:@"<!-- Start of Brightcove Player --> <div style=\"display:none\"> </div> <!-- By use of this code snippet, I agree to the Brightcove Publisher T and C found at https://accounts.brightcove.com/en/terms-and-conditions/. --> <script language=\"JavaScript\" type=\"text/javascript\" src=\"http://admin.brightcove.com/js/BrightcoveExperiences.js\"></script> <object id=\"myExperience1778612770001\" class=\"BrightcoveExperience\"> <param name=\"bgcolor\" value=\"#FFFFFF\" /> <param name=\"width\" value=\"480\" /> <param name=\"height\" value=\"270\" /> <param name=\"playerID\" value=\"1776746869001\" /> <param name=\"playerKey\" value=\"AQ~~,AAABnWrZAiE~,vOZcyTPVgHpcrcOyFdRZXnunkRSWEVpt\" /> <param name=\"isVid\" value=\"true\" /> <param name=\"isUI\" value=\"true\" /> <param name=\"dynamicStreaming\" value=\"true\" /> <param name=\"@videoPlayer\" value=\"1778612770001\" /> </object> <!-- This script tag will cause the Brightcove Players defined above it to be created as soon as the line is read by the browser. If you wish to have the player instantiated only after the rest of the HTML is processed and the page load is complete, remove the line. --> <script type=\"text/javascript\">brightcove.createExperiences();</script> <!-- End of Brightcove Player -->"];
        NSLog(@"\n------------Script :%@\n-----------------------", playerString);
//videoPlayer is the webview
        [self.videoPlayer loadHTMLString:playerString baseURL:nil];

Player Stuck in iPad after hitting the play button

  • 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-09T19:42:00+00:00Added an answer on June 9, 2026 at 7:42 pm

    I had to give the correct base url… that worked

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

Sidebar

Related Questions

I have this code: <script id=toModify > Invalid javascript that will cause errors </script>
I have this simple code that speaks for itself. <script language='javascript"> function check() {}
I have this loader-bar gif that is by default invisible: <p class=loadingImg style=display:none;><img src=/design/styles/_shared/classic-loader.gif
I have a script which runs when the system boot first time. But that
I have this Javascript function that sends username and password to php file through
I have this JavaScript code that creates a table, and puts in the rows
I have this javascript code below that uses jquery, it is suppoed to be
I have this chunk of javascript that's kind of hacked around from http://www.developphp.com/view.php?tid=1248 and
I have a javascript that does this (http is your XMLHttpRequest object) var r
I have some third-party Javascript that has statements like this: FOO = function() {

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.