Can I display video in an Ext.Net page?

  1. #1

    Can I display video in an Ext.Net page?

    Hi,

    I've been searching through the documentation for about an hour now looking for the proper way to display video in an ext.net page. I was wondering if someone could give me a nudge in the right direction as I don't seem to be getting very far.

    Currently I've got an ext:Image which works fine for previewing an image in a little pop up window. I was wondering if there's a way to do this with video as well. I'm limited to IE7 unfortunately so HTML5 is out.

    <ext:Window> 
        <Content>
            <ext:Image>
    Apologies if this is a stupid question, I'm fairly new to developing web stuff and I've been kind of thrown in at the deep end.

    Many thanks
    Neil
  2. #2
    As a possible solution I could use the dynsrc attribute instead of the src attribute in the img tag. Is there a way to make the ext:image use dynsrc instead of the src attribute. In code I'm doing the following.

    this.imagePreview.ImageUrl = Path.Combine("~/media", _filePath);
    I got the following html output when checking through with firebug
    <img   id="ctl00_placeHolderWizardBody_imagePreview" 
              src="/media/test.avi" 
              style="border: medium none; 
              width: 475px;">
    Cheers
    Neil
  3. #3
    Last thing I'll post about this problem, promise!

    In this example using standard html tags the image works but the video does not display

    <ext:Window>
            <Content>
                <img src="test.jpg">
                <img dynsrc="test.avi">
            </Content>
    </ext:Window>
    If I put the exact same img tags into an html file both the image and video are both displayed

    <html>    
        <body>
                <img src="test.jpg">
                <img dynsrc="test.avi">
        </body>
    </html>
    Does ext.net disable videos from working or is there some property I need to set to let them work?

    Thanks again for any help
    Neil
  4. #4
    Hi,

    Image cannot display a video, use Flash
    https://examples1.ext.net/#/Miscella...mponent/Basic/

Similar Threads

  1. How to add HTML5 video tag in side form panel
    By arunsathyan in forum 1.x Help
    Replies: 2
    Last Post: Feb 15, 2022, 8:12 PM
  2. Replies: 5
    Last Post: Jun 09, 2014, 3:13 PM
  3. [CLOSED] Show a video
    By Oliver in forum 2.x Legacy Premium Help
    Replies: 4
    Last Post: May 31, 2012, 3:09 PM
  4. Replies: 1
    Last Post: Jan 16, 2012, 5:00 PM
  5. Page doesn't display on Safari browser
    By fac in forum 1.x Help
    Replies: 8
    Last Post: Jan 07, 2012, 9:56 AM

Tags for this Thread

Posting Permissions