An image changing to FLV Video Player in AJAX Update Panel

Hi,
I'm trying to design part of a website can seen as video gallery. I have videos related to subcategories; and subcategories that related to categories.
I was using popups but now want to change it. Simply, firstly there are images and descriptions(in an update panel) of videos on page. After clicking thumbnail, the region includes thumbnail and description wil be changed to FLV video player.
Outside of updatepanel player is working good. but when i move it into updatepanel; doesn't working in IE. Because JS code (AC_FL_RunContent(.....)) is not working in updatepanel. Tried another script (like alert('hello!');), it's working. I think i have problem with the function named AC_FL_RunContent(...). It's working as i want, if open page with Firefox.
Looked for this in google. Visited many pages, but never find a solution for this nor source of problem. I hope someone can help me
Using ASP.Net. I'm attaching my tree structure and codes below:
Default.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default"%> 
<! 
DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" //www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

html xmlns ="http://www.w3.org/1999/xhtml">

head id="Head1" runat="server">
<title>Untitled Page</title>
<link href="StyleSheet.css" rel="stylesheet" type="text/css"/>
<script type ="text/javascript">
function  
MM_CheckFlashVersion(reqVerStr,msg){
  with (navigator){
      var isIE = (appVersion.indexOf("MSIE") != -1 && userAgent.indexOf("Opera") == -1);
      var isWin = (appVersion.toLowerCase().indexOf("win") != -1);
      if (!isIE || !isWin){
        var flashVer = -1;
        if (plugins && plugins.length > 0){
            var desc = plugins["Shockwave Flash"] ? plugins["Shockwave Flash"].description : "";
            desc = plugins["Shockwave Flash 2.0"] ? plugins["Shockwave Flash 2.0"].description : desc;
            if (desc == "") flashVer = -1;
            else{
              var descArr = desc.split(" ");
              var tempArrMajor = descArr[2].split(".");
              var verMajor = tempArrMajor[0];
              var tempArrMinor = (descArr[3] != "") ? descArr[3].split("r") : descArr[4].split("r");
              var verMinor = (tempArrMinor[1] > 0) ? tempArrMinor[1] : 0;
              flashVer = parseFloat(verMajor + "." + verMinor);
        // WebTV has Flash Player 4 or lower -- too low for video
        else if (userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 4.0;
        var verArr = reqVerStr.split(",");
        var reqVer = parseFloat(verArr[0] + "." + verArr[2]);
        if (flashVer < reqVer){
            if(confirm(msg))
              window.location = http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash;
function  callFLVP(){
  AC_FL_RunContent('codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0','width','320','height','240','id','FLVPlayer','src','FLVPlayer_Progressive','flashvars','&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=./VideoGallery/serpende&autoPlay= false&autoRewind=false','quality','high','scale','noscale','name','FLVPlayer','salign','lt','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','FLVPlayer_Progressive');
</ 
script>

script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</ 
head>
<body onload="MM_CheckFlashVersion('7,0,0,0','Content on this page requires a newer version of Adobe Flash Player. Do you want to download it now?');">
  <form id="form1" runat="server">
      <ajaxToolkit:ToolkitScriptManager ID="ScriptManager1" runat="server" />
      <div>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <asp:Literal ID="thumbLiteral" runat="server"></asp:Literal>
        </ContentTemplate>
        <Triggers>
            <asp:AsyncPostBackTrigger ControlID="showvideoButton" EventName="Click" />
        </Triggers>
        </asp:UpdatePanel>
        <asp:Button ID="showvideoButton" Text="Video" runat="server" onclick="showButton_Click"/>
     </div>
   </form>
</ 
body>
</ 
html>
Default.aspx.cs
public partial class _Default : System.Web.UI.Page
     protected void Page_Load(object sender, EventArgs e)
          thumbLiteral.Text = "<img src id=\"imgThumb\" src=\"./VideoGallery/small/serpende.jpg\" />";
     protected void showButton_Click(object sender, EventArgs e)
          string strNoScriptBlock = "";
          strNoScriptBlock += "<noscript>";
          strNoScriptBlock += "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0\" width=\"320\" height=\"240\" id=\"Object1\"><param name=\"movie\" value=\"FLVPlayer_Progressive.swf\" /><param name=\"salign\" value=\"lt\" /><param name=\"quality\" value=\"high\" /><param name=\"scale\" value=\"noscale\" /><param name=\"FlashVars\" value=\"&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=serpende&autoPlay=false&a utoRewind=false\" /><embed src=\"FLVPlayer_Progressive.swf\" flashvars=\"&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=serpende&autoPlay=fal se&autoRewind=false\" quality=\"high\" scale=\"noscale\" width=\"320\" height=\"240\" name=\"FLVPlayer\" salign=\"LT\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash\" /></object>";
     strNoScriptBlock += "</noscript>";
     string strScriptBlock = "";
     strScriptBlock += "<script>";
     strScriptBlock += "callFLVP();";
     strScriptBlock += "</script>";
     ScriptManager.RegisterClientScriptBlock(this, typeof(string), "strScriptBlock", strScriptBlock, false);
     thumbLiteral.Text = strNoScriptBlock;

Let's check this first;
If you have problems with current Shockwave Flash plugin versions then check this:
* see if there are updates for your graphics drive drivers
'''https://support.mozilla.org/kb/upgrade-graphics-drivers-use-hardware-acceleration'''
* disable protected mode in the Flash plugin (Flash 11.3+ on Windows Vista and later)
'''https://forums.adobe.com/message/4468493#TemporaryWorkaround'''
* disable hardware acceleration in the Flash plugin
'''https://forums.adobe.com/thread/891337'''
See also:
* '''http://kb.mozillazine.org/Flash#Troubleshooting'''

Similar Messages

  • Creating a FLV video player with full screen option

    > This message is in MIME format. Since your mail reader
    does not understand
    this format, some or all of this message may not be legible.
    --B_3258016930_5977304
    Content-type: text/plain;
    charset="ISO-8859-1"
    Content-transfer-encoding: 8bit
    Hi!
    I am trying to create a video player that will allow full
    screen functions
    like what we can see on youtube. I know how to create the
    window and the pop
    up but the only problem I am having is having the original
    video in the
    small screen to pause or go silent when the full screen mode
    is activated.
    How can get it done?
    Thank you.
    °K.
    --B_3258016930_5977304
    Content-type: text/html;
    charset="ISO-8859-1"
    Content-transfer-encoding: quoted-printable
    <HTML>
    <HEAD>
    <TITLE>Creating a FLV video player with full screen
    option</TITLE>
    </HEAD>
    <BODY>
    <FONT FACE=3D"Arial"><SPAN
    STYLE=3D'font-size:12.0px'>Hi!<BR>
    <BR>
    <BR>
    I am trying to create a video player that will allow full
    screen functions =
    like what we can see on youtube. I know how to create the
    window and the pop=
    up but the only problem I am having is having the original
    video in the sma=
    ll screen to pause or go silent when the full screen mode is
    activated. How =
    can get it done?<BR>
    <BR>
    Thank you.<BR>
    <BR>
    <BR>
    <B>&deg;K.<BR>
    </B> </SPAN></FONT>
    </BODY>
    </HTML>
    --B_3258016930_5977304--

    Hello,
    You should ask in the
    Windows Phone forums on the Microsoft Community forums.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book:
    Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • Is there a way to permanently change the default video player to VLC?

    I installed the QuickTime update and now all my AVIs won't play with sound. Downloaded VLC and they will play with sound. I went to 'Get Info' on an avi and changed 'open with' to VLC and selected 'change all'. They will open and play with VLC until I re-boot, then everything changes back to QuickTime. Right now I just hate Quicktime and don't want to use it. How can I change the default video player to VLC without Quicktime changing it back when I reboot?

    How can I change the default video player to VLC without Quicktime changing it back when I reboot?
    Sounds like you changed it properly. The question now becomes, "Why isn't the change being saved?" Have you tried repairing your disk permissions? As to the original problem, it could be that the QT upgrade has rearranged the order of your stored codec components table called by QT. While this table is rebuilt each time the QT Player is opened, the table seems to be ordered from latest component installments to oldest. So there is the possibility that two (or more) components are allocated for playback of you AVI files and the wrong one now has priority. If you can find it (e.g., possibly Perian), you could simply remove it from the QT components folder and then replace it to again change the "build" order for the table. (Basically, you would need to run a component conflict test strategy here.)

  • My ant video player after i updated to firefox four is now in the upper part of the screen where it opens up and i cant find out how to fix it

    my ant video player after i updated to firefox four is now in the upper part of the screen where it opens up and i cant find out how to fix it

    Create a new profile as a test to check if your current profile is causing the problems.
    See "Basic Troubleshooting: Make a new profile":
    *https://support.mozilla.com/kb/Basic+Troubleshooting#w_8-make-a-new-profile
    There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & Plugins" in case there are still problems.
    If that new profile works then you can transfer some files from the old profile to that new profile, but be careful not to copy corrupted files.
    See:
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • How do I change my defualt video player

    I have a program iVI its a video compresser and it is set as my defult video playback player. But I dont want that I want it to be VLC. And I cant find where to change that?

    Right click on one of your video files and select "get info".  In the Pop up screen there is a selection to Open with: choose your program.  Change All...  to have all of the same file type open with this program.
    Regards,
    Captfred

  • Any flv video player for Nokia X6?

    I want to play flv and some other video files on my nokia X6, any chance?
    I bought it 2 days ago.
    Nokia x6

    i don't think, same problem with me, tried divx mobile player nd converted flv files into avi but result not good,

  • Change default video player for iPad

    Is there any way to change the default video player for iPad?
    For instance, to be able to see mpeg, mkv videos, etc.

    Did you figure out how to do it ? I have some movies copied over from a NAS into FileExplorer app on my ipad, but it uses quick time as player and it does a lousy job with mkv files.
    Note: Jailbreaking is not an option

  • How do I stop iTunes from being my default video player

    I have a slightly older Macbook Pro, on OSX 10.5.8.   I have a bunch of video files on a wireless networked hard drive and the directory mapped to my desktop for easy access.  I also have VLC installed for video playback.  All the files are *.m4v.
    Here is the problem.  When I click to open one of these files it starts copying the whole file over the network to my iTunes, and insisting on opening from iTunes.  If I click on File -> Open With -> it shows iTunes as the default.  I can click on File -> Open With -> VLC and this works just fine.
    But how do I change the default video player?  All I want to do is stream it over my internal home network, I don't want copy the darn file every time I want to play something.
    Thanks

    Mac OS X: Double-Clicking a File Opens the Wrong Application - http://support.apple.com/kb/TS2291
    -= Changing the application used to open all files of a certain kind (written with reference to OSX 10.4 but may not have changed) =-
    1) In a Finder window highlight a file of the kind you want to change the application to open that kind of file.
    2) While that file is highlighted, select File > Get Info or press command (apple or propeller icon) + i to get a file information window.
    3) In the lower part of the info window there is an "open with" menu with a list of applications.
    4) If your application is already in the box then it is the default application for opening that kind of file and you don't need to do anything more.  Close the get info window.
    5) If the application showing in the menu is not the one with which you wish to open the file then select a new application. If your application does not appear there then select the "other..." and track down the application (usually in the Applications folder at the main level of the computer).
    6) If you wish to change all files of this type to open with this application in future, make sure the "change all" button is selected.
    7) Close the get info window.

  • TOSHIBA Video Player (released March 25th, 2015) update failed

    Howdy, y'all,
    On my C55D-A5381 laptop (Windows 8.1, version 6.3.9600 Build 9600, with all available updates), Toshiba Video Player 5.3.5.59 is installed. While looking for driver and utility updates, I saw that an update was released on March 25th, 2015. I downloaded the self-installer and ran it. The InstallShield Wizard named PatchProject offered 3 C++ redistributables: 2011 for x86 and x64, and 2005 SP1 for x86. I clicked Install but the installation failed:
    Version of source build is not target build
    Error: -2
    What's wrong and how do I fix it?
    Thanks much.

    Run the Toshiba service station, under software updates check for updates. Does any updates show up and is one of them the video player? 
    Mine updated through the service station.:
    Changes in this update
    Fixed: Title names are displayed incorrectly when "title" is selected from the right-click menu on the video window during playback of a DVD-VR title.
    Your support page is here - http://support.toshiba.com/support/modelHome?freeText=1200006765
    S70-ABT2N22 Windows 7 Pro & 8.1Pro, C55-A5180 Windows 8.1****Click on White “Kudos” STAR to say thanks!****

  • FLV Videos in iMovie.

    I am trying to convert this video that I downloaded online. Its an FLV video though. I need this video for my school project. How do I import an FLV video into iMovie? or how can I change the FLV video into a format that iMovie will let me import? Please get back to me ASAP....Thanks Very Much!

    I am trying to convert this video that I downloaded online. Its an FLV video though. I need this video for my school project. How do I import an FLV video into iMovie? or how can I change the FLV video into a format that iMovie will let me import?
    If you have her Perian (free) codec package installed, then use the MPEG Streamclip (free) converter. DV, AIC, M-JPEG, Photo-JPEG, MPEG-4, and H.264 video and DV, AAC, Linear PCM (Big or Little Endian), 8-bit unsigned, etc. audio formats are known to be compatible with iMovie '08.

  • [Help] Is there a way to change how temporary flv videos are stored in my PC?

    Hello, I'd like to know whether you can change the way Flash Player stores temporary .flv movies in the PC. Every time I watch a video it's usually stored on C:\Users\myusername\Appdata\Local\Temp as "fla      .tmp" until I close the browser's window. I don't like that, since I'd rather have temporary files on a secondary HDD to avoid system fragmentation and unnecessary usage of my newly acquired SSD. I've attempted to change the temporary folder but there's simply no option whatsoever to do it (I even checked the online Flash settings manager, with no luck).
    Can you please help me? Any ideas?
    Thanks in advance.

    The default temporary directory in Windows is located on the same  hard drive and partition as the operating system itself.
    This is not really  optimized and you could speed up your operating system by moving the  temporary folder from the default location to another hard drive.
    The  process is very simple and done in a matter of seconds.
    Press Windows+Pause (Break) and click on the Advanced tab (XP) or Advanced System Properties (Vista/7).
    Click the Environment  Variables button on the bottom and another window opens showing all  variables.
    The important ones for use are the TMP and TEMP user  variables.
    Create a new directory manually on another hard drive,  for instance f:\temp.
    Highlight the first variable, and select Edit from the menu, then change the default location to f:\temp or the name of the folder you want to use.
    Edit the second variable in the same way and click on ok.
    You should restart your computer afterwards.
    Hope that helps....

  • Videos won't play in Safari. Notice says, "You need to upgrade your Adobe Flash Player to watch this video." I have downloaded it, but no change. All videos play OK in firefox, but I like the controls in Safari better and want to stay with it.

    Videos won't play in Safari. Notice says, "You need to upgrade your Adobe Flash Player to watch this video." I have downloaded it, but no change. All videos play OK in Firefox, but I like the controls in Safari better and want to stay with it.

    Try deleting Flash cookies.
    Flush.app – Flash Cookie Removal Tool For OS X | MacHacks.TV
    If that doesn't help, UNinstall the old Flash plugin first, then reinstall new.
    Troubleshoot Flash Player | Mac OS
    Then restart your Mac.

  • Dynamic FLV/MPG - Video Player

    Hi guys,
    Thanks in advance.
    I am trying to create an online video player of short
    videoclips.
    I have an array, which has around 10+ FLV and a few MPG
    videoclips.
    The requirement-
    - Dynamically load and display these movieclips - one after
    the other.
    - After the current movie has finished playing, the next
    movie, should
    automatically start.
    - After the last movie ends, it should loopback and start
    from the first
    clip.
    Kindly help.
    Thanx again.

    You will need some server side script to be the mediator
    between your database and the SWF. Use the FLVPlayback components'
    source method to play the FLV files you want.

  • Create a video player for embedded FLV

    So I want to embed a FLV in my flash so that I just have ONE SWF that contains everything.
    I know if I say "load external video with playback component" I will end up with a swf, html and the flv- this is NOT what I want so please don't ask me why I'm not using this option.
    "Embed FLV in SWF and play in timeline" is EXACTLY what I want- the result is just a single SWF.
    Here is the question: How do I get a video player if I embed a FLV in flash?
    I know if I load the video external I will get some nice players - exactly what I want. How do I get a player if the video is embedded? Are there any coded player templates on the net? I couldn't find anything on google I could use but I've to admit I'm not too good at AS.
    Thanks A LOT for your help

    Not sure if this will work. Embed the FLV into a movie clip and in the expanded propertied check export for action script. Then you may be able to call the movie clip from the content path in the FLV video component.

  • How to change audio track on a flv-video during streaming?

    Hello ,
    I would like to stream a flv-video, but every time with
    different audio-track.
    So how can I change the audio track on a video-stream? Is
    there any server-side solution for this?
    I used to stream the audio on different stream - parallel
    with the video stream -, but because of synchronization problems,
    it didn't work.
    Any idea?
    Thanks

    Thanks for the helpful response.  I'll check out the the options available for shaping the sound with eq, efx and amp sims as you suggest.
    It still would be helpful to know if I change an audio track (.aif file) into a midi track in GarageBand or in some other software so I can change the instrumentation of the track from piano to another instrument.
    Thanks again!

Maybe you are looking for

  • Apple Video Adapter question

    http://store.apple.com/1-800-MY-APPLE/WebObjects/AppleStore.woa/wo/StoreReentry. wo?productLearnMore=M9109G%2FA I know this product works on our network providing an information service via a cable connection to TVs throughout the building, from a 1.

  • No sound on windows 7 ultimate, but it has worked before!

    Hi, I'm using a macbook air  OS X Mountaint Lion (10.X.X <- not sure about those numbers since I'm on the windows 7 atm) and I've tried to install windows 7 ultimate(32-bit) a couple of times, and the very few first times it did work, installing it,

  • Popup TABS in Safari 4.0.1 on Leopard 10.5.7 and Tiger 10.4.11

    So these aren't really the standard popup windows that we are used to. There are a couple of sites (kbb.com and yahoo's mail just for examples) that while they are loading I visit other tabs that I have opened and all of a sudden I am returned to the

  • Can the display be upgraded?

    1. Product Name and Number HP Pavilion dv6 Notebook PC A5F76AV I have a display of 15.6" which supports 1366 X 768. I was recently browsing through HP website and found one dv6 notebook with the display 15.6" diagonal full HD anti-glare LED-backlit (

  • Where is the Java icon

    Hello, once upon the time - it was at Java 1.4 - the Java icon for windows could be found in the subdirectory \jre\javaws\JavaCup.ico. Where can that - or a similar - Java icon be found in Java 5 and 6 installations (or elsewhere)? Thomas Wiedmann