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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T17:19:09+00:00 2026-06-04T17:19:09+00:00

I have a page with a few silverlight embed objects. One player is visible

  • 0

I have a page with a few silverlight embed objects. One player is visible and all others are hidden (display: none). When I click a thumbnail the code clones the corresponding, hidden object and replaces the visible player with this cloned object.

This works fine in Firefox, Chrome and IE9, but in IE8 it doesn’t work properly. The visible player gets replaced, but this results in a big white empty silverlight player. If you right-click this white element, it shows a silverlight context menu, but nothing else. No error in console or some other clue.

The website with this problem is online at: http://www.vioranje.nl
Open it in IE8 and click the play buttons underneath the titlebar “web afleveringen” to see what happens.

This is the jQuery code that clones the Silverlight players (which is attached to the click event handlers of the thumbnails):

var embedType = (element.data().embedtype) ? element.data().embedtype : 'object';
var $embed = $element.find('.large .embed '+embedType);
var $newplayer = $(this).find('.embed');
var newplayerHTML = $newplayer.html();
var $newplayerInstance = $(newplayerHTML);
$embed.replaceWith($newplayerInstance);
$newplayerInstance.show();

What can I do to resolve this problem?

  • 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-04T17:19:10+00:00Added an answer on June 4, 2026 at 5:19 pm

    I’ve tried to debug your case, and It seams like IE8 processes the tag and re-write it as the following:

    <OBJECT data="data:application/x-oleobject;base64,QfXq3+HzJEysrJnDBxUISgAJAACuLQAAuh8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=" width=442 type=application/x-silverlight-2 height=307 checkedByCssHelper="true"></OBJECT>
    

    Which apparently looses the Parameters you are passing to the Silverlight video player Object.

    Here is trick that might help you solving your issue for all browsers,
    Try to use a instead of using a to hide your embed tags,
    By using the tag .. your Silverlight Code will not be executed while its hidden, because it’ll be treated as Text not as an HTML Code.

    So in your HTML Template Code “tpl_rtlxlvideo”:

    Replace:

    <div class="embed" style="display: none;">{YOUR OBJECT TAG}</div>
    

    With:

    <textarea class="embed" style="display: none;">{YOUR OBJECT TAG}</textarea>
    

    And for the Javascript side:

    Replace:

    var newplayerHTML = $newplayer.html();
    

    With:

    var newplayerHTML = $newplayer.val();
    

    Hope that helps you 🙂

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

Sidebar

Related Questions

I have a page with a few links that are all like this: <a
I have one page with a few forms and I want to add a
I have a web page with few tabs. All tabs have same data but
I have a page that takes a few minutes to run. When I set
I have a page (telerik:RadPage) containing few grids and some nested controls and I
I have a master page which containing few CSS links and java scripts. <html
I have a simple aspx page with a few TextBoxes and a submit button.
I have few nested DIVs at page. I want to add event only for
I have a few labels on my page with a class of 'error', the
I have a few links across the page with the purpose of going to

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.