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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T03:26:40+00:00 2026-06-10T03:26:40+00:00

I have updated my SWFObject to 2.2 from 1.5 and now need to replicate

  • 0

I have updated my SWFObject to 2.2 from 1.5 and now need to replicate some old functionality that used to work in 1.5, viz an event jumping to a certain point in the video.

Here’s the contents of my script tag:

var flashvars = {
    file: '79834.flv',
    autostart: 'true',
    displayclick: 'mute',
    repeat: 'single',
    start: 0
};
var params = {
    allowfullscreen: "true",
    allownetworking: "all",
    allowscriptaccess: "always"
};
swfobject.embedSWF("player.swf","main","500","400","9.0.0", "false", flashvars, params);

var player;
function playerReady(obj) {
    player = document.getElementById(obj.id);
    alert(player);
    setTimeout("seek()", 1000);
}
function seek() {
    player.sendEvent("SEEK", 100);
}

The top half is what I’ve replaced the old V1.5 code with.

The bottom half (from “var player”) is what no longer works. playerReady is still happening, but apparently obj.id is now “null”. Is there a new correct way to find the player element? Or a different way to implement a seek event?

  • 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-10T03:26:41+00:00Added an answer on June 10, 2026 at 3:26 am

    You missed the id attribute:

    var attributes = {
        id: "playerID"
    }
    // and later
    swfobject.embedSWF("player.swf","main","500","400","9.0.0", "false", flashvars, params, attributes);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I had a some config in pom.xml and now i have updated the version
I have updated many records already, but when it came to a word that
I have updated my libraries, and now e-mails are sent without subject. I don't
I have updated my android-sdk-package from r16 to r17. I have updated the Eclipse
I have updated code for ActiveX functionality which already installed on client(in their Windows
I have updated to latest Django version 1.0.2 after uninstalling my old Django version.But
I have updated an application from Delphi 2007 to Delphi 2010, everything went fine,
NOTE: I have updated this since originally asking the question to reflect some of
UPDATE: I have updated my HTML. Now it works in all browsers except IE7.
I have an App I have updated with some .Net4 assemblies, including the custom

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.