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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T13:21:49+00:00 2026-05-24T13:21:49+00:00

I have a flash video player and I am just testing to see if

  • 0

I have a flash video player and I am just testing to see if I can use jquery/javascript to load that player in. I am trying to make it so that I can load different players in when I need to. Anyone have any ideas on this or know if it is possible? I know my code is wrong but I don’t know how else to illustrate what I want to do.

If I take the below code and simply paste it into the html of the page on startup (without trying to use javascript or jquery to load it) then my video will work fine.

$('#container').html('<div class="test"></div><script> \
/* <![CDATA[ */ \
flowplayer(".test", "player/player.swf", {   \
clip: {  \
bufferLength: "0", \
autoPlay: true, \
autoBuffering: true, \
scaling: \'scale\', \
url:\'video_handler.php?file=somefile\' \
}, \
});  \
/* ]]> */ \
<\/script>');
  • 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-24T13:21:51+00:00Added an answer on May 24, 2026 at 1:21 pm

    SWFObject

    http://code.google.com/p/swfobject/


    SWFObject is a JavaScript based flash embedding API supplying a markup based approach and a method that relies on JavaScript.

    By using the supplied code generator and javascript files, it takes a few clicks to create an copy/paste-able block of code to add to your page.

    The library will handle everything you would require; such as flash button prompt for those without Flash installed and a simplified bridge for javascript to flash communication.

    This is seemless to the end user and developer alike and allows the freedom to manipulate the HTML/JS without resorting to republishing your flash work.


    This API is so useful it is hosted on Google Ajax Libraries http://code.google.com/p/swfobject/wiki/hosted_library and modern flash IDE’s leverage this code and apply this API to the published content rather than the original propriety convalescent code.

    This is useful as you will now have the ability to apply your player at any time to the DOM, simply by referencing the correct JavaScript. As an example:

    <script type="text/javascript" src="swfobject.js"></script>
    
    <script type="text/javascript">
    swfobject.embedSWF("myContent.swf", "myContent", "300", "120", "9.0.0");
    </script>
    

    As you can see – this makes our life almost worth living. I understand the embed code could be more verbose, this is the essence of requirement.


    Hope it helps.

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

Sidebar

Related Questions

I have a flash video player in a div inside a webpage, I'm trying
I'm trying to build/implement a Flash video player to play videos. I have looked
Have a flash video player that mimics the functionality of the youtube player regarding
We have a customized Flash/HTML5 video player we use for users on our site.
We have a custom-built Flash-based video player that I maintain, and it needs to
I have a flash video player which requests a flv file from a central
I have a html/css based menu and I'm trying to put a flash video
I'm trying to place a flash video (object, swf) inside a div, and have
I have a piece of jQuery that requests a file (using .load() method) with
my client wants to play a flash video in their website. just to make

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.