C# Winforms Embed Video as Resource

Hi,
   The company I work for has some training video's which require protection. I wish to create a WinForms app where the video is embedded in the EXE so users can not copy the video file. The WinForms app will require a license to run so just copying
the EXE wont be an option. What is the best way to achieve this?
Thanks
Paul.
Paul Wainwright

Hi,
   The company I work for has some training video's which require protection. I wish to create a WinForms app where the video is embedded in the EXE so users can not copy the video file. The WinForms app will require a license to run so just copying
the EXE wont be an option. What is the best way to achieve this?
Thanks
Paul.
Paul Wainwright
Hello,
To embed file to exe as resource, we could use the following way.
1. Copy that file to project
2. Right click on that file and select properties.
3. Set its "Build Action" to "Embedded Resource"
Then we could use it with the following way.
var _assembly = Assembly.GetExecutingAssembly();//var _stream =
//_assembly.GetManifestResourceStream("_150302EmbedVideo.big_buck_bunny.mp4");
var _stream = _assembly.GetManifestResourceStream("YourAssemblyName.TheFileName");
But to play video from stream would be difficult that needs us to look for the other control or create custom player by ourselves using DirectShow.
I would recommend you consdier using the way shared in
http://www.dreamincode.net/forums/topic/281977-decrypting-video-files/
Regards,
Carl
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • Embed Video in Word Acrobat 9

    Okay, I've lloked at seom of the forum post, but could not find an answer.  Here's my dilemna.  We have a full license of Acrobat 9 Pro.  When using Word, I try to embed a video via the Embed Video option in the Acrobat tab.  However, that option is not avaiolabel.  Insearching teh forums and internet, I found that Actobat 9 Pro Extended has that option.  I downloaded a trial.  While installing, it told me that I hasd a higher version of Acrobat 9 (Pro).  So here are myu questions:
    Is Pro better thatn Extended?
    Is the Embed Video option availbale in Word with Acrobat 9?
    If Embed Video options is not availabel, is there an add-in or plug-in to do this w/ Acrobat 9 Pro installed?
    Thanks in advanced,
    Clyde

    Where can I find the movie tool and flash tool in Word?
    The tools are in Adobe Acrobat.
    Is Pro better than Extended?
    No. Look here:
    http://www.adobe.com/products/acrobat/matrix.html
    Is the Embed Video option availbale in Word
    with Acrobat 9?
    Yes, with Acrobat 9 Pro Extended.

  • How do I embed videos in Muse CC?

    Hi
    I searched for the answer to this question and read that if I click 'Insert HTML', paste the link and click OK, the video should appear. However, every time I do this the application quits.  I'm using a mac and I am trying to embed video from Vimeo.
    What I'd really like to do is have several videos in a slide show format.
    If anyone is able to give me some advice about why this might be happening / what I need to do, that would be great!
    Many Thanks

    CS as a marketing practice, its best to upload the videos to a secure website and embed links to the videos in the email.
    If however embedding the video is the only way, attaching them to mail is perhaps the way you want to do it. Let me know if this helps.
    - Hashim

  • Embed Video in inDesign and not have Dropbox logos?

    Hi,
    Is it possible to embed video from a video stored in your Dropbox folder and not have the Dropbox logos appear?

    I tried embedding a video into my inDesign document which I have stored in my Dropbox folder.  I did this to keep the file size down in my document, but when I embed the video that is in my Dropbox folder, the result is a video within the contained window of my document whcih is great, but it also contains the Dropbox logos at the top and I would love to get rid of the logos.  The same thing goes for Youtube videos - when I embed a Youtube video, the whole Youtube page is included in the video window.

  • Is it possible to embed video from another site in wiki?

    every-time i try and add in html code to embed video in the wiki page (not podcasts) it deletes it after i save and nothing happens

    Hi,
    The current wiki relies on html 4:
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    Embed tag is not a standard part of html 4 and is new in html 5. html 4 allows the object tag or the iframe tag to perform the external link function. Both object and iframe need to be added to the wiki whitelist for inclusion in the page html.
    iframe creates a separate window that allows you to show the page with the video or rss link that you want to include on the wiki page.
    object would show up as an separate window as well but has different issues depending on brower.
    I have used iframe with good results as an alternative to uploading data to the wiki page.
    HTH,
    Harry

  • Is it possible to embed video in keynote presentation when exporting to .pdf?

    Is it possible to embed video in keynote presentation when exporting to .pdf?

    You can place the video in Keynote but it will be exported as a still.Adobe Acrobat Pro is needed to embed video in a PDF page.

  • Why cant i embed video's on my website?

    Im creating a music website and when i try to embed videos to my site it wont let me do so.

    A good place to ask advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.<br />
    The helpers at that forum are more knowledgeable about web development issues.<br />
    You need to register at the mozillaZine forum site in order to post at that forum.<br />
    <br />
    See http://forums.mozillazine.org/viewforum.php?f=25

  • How do I "embed" video into my iWeb site?

    Haven't figured this one out yet. So what am I missing here? Could someone tell me how to "embed" into my iWeb site?
    Thanks,
    Chris

    [Search this forum|http://discussions.apple.com/search.jspa?threadID=&q=embed+video&objID=f1 108&dateRange=last90days&userID=&numResults=15&rankBy=10001]
    With iWeb '08 you can embed video with the HTML Snippet. [Look here|http://web.mac.com/wyodor/Embed_Media> and then [here|http://web.mac.com/wyodor/iFrame>.

  • How to embed video files

    Hello  there,
    I want to embed video files to my web page.I am having .mts, .mov and .mpg files.
    Please help me....How can i embed all these files.
    Thanks in advance.

    Copy & paste this code into a new, blank document.  Save and upload to your remote server.
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>HTML5 with Video</title>
    <!--help for older IE browsers-->
    <!--[if lt IE 9]>
    <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    </head>
    <style>
    video {
        max-width:100%;
        display:block;
        margin:0 auto;
    </style>
    <body>
    <h2>Use 3 File Types to support all browsers:  MP4, WEBM and OGV.</h2>
    <h3>Online Video Converter
    http://video.online-convert.com/</h3>
    <!--begin video-->
    <video controls poster="Your_poster_image.jpg">
    <!--these are 6 sec sample videos for testing purposes. Replace sample-videos with your own files-->
    <source src="http://techslides.com/demos/sample-videos/small.webm" type="video/webm">
    <source src="http://techslides.com/demos/sample-videos/small.ogv" type="video/ogg">
    <source src="http://techslides.com/demos/sample-videos/small.mp4" type="video/mp4">
    If you're seeing this, you're using an
    outdated browser that doesn't support
    the video tag. </video>
    <!--end video-->
    </body>
    </html>
    If it fails to play, your server probably lacks the proper MIME file types. You'll have to add them to an .htaccess file or contact your web host.
    Nancy O.

  • Embed video youtube in LiveCycle Designer ES

    ich habe versucht embed video youtube in Designer ES einzubinden. Leider gibt es da nicht. Ich habe es mir überlegt, HTML-Datei in Designer ES zu importieren. Die Fehlermeldung zeigt an. Vielleicht kann einer von euch helfen das zu lösen.

    Was du vorhast ist bislang nicht möglich.
    Acrobat / Reader X unterstützen zwar schon XFA 3.3, das es ermöglicht Flash-Dateien in XFA-Formulare einzubetten, aber bislang gibt es noch keine Version des LiveCycle Designer, die diese Funktion unterstützt.
    Du wirst auf die nächste Version warten müssen, wann immer die auch veröffentlicht wird.
    Youtube-Videos müsstest du dann aber auch immer erst in Flash umwandeln.

  • Embed video into iweb page

    Is there any way to embed video into my iWeb page without making an external HTML file?
    Thanks.

    QuickTime Media Link format. One of mine as an example:
    http://homepage.mac.com/kkirkster/.Public/wwdc_keynote.qtl
    They are text based files that download when clicked so there is no need for any addition html code to open a new page.

  • Embed video into email

    Hello
    I have a client who wants me to embed a video trailer into an email so that he doesn't have to attach it.
    Does anyone know how I can do this?
    Thanks
    Grant

    You cant embed video in Emails, only attach
    embedding means that the email file and the video file becomes a single file
    and thats not possible
    just send the video as an attatchment

  • Embed video in Help files

    Is it allowed to embed video in Help files? My products always ships with detailed Help files where is explained my intent and purpose of publication and best practices how to use product. Since people like video instructions, I want to provide video at the end of written tutorial in PDF help files.

    This state of affairs is indeed disappointing! It seems that we are back in the days of external players that could be incompatible, even if all are produced by Adobe.
    Example:
    On a MacBook (10.5.8), where I can view the all PDFs and their integrated videos successfully with Adobe Reader 9.4.
    With Adobe Reader 10.1.4 on the same Mac, some videos display successfully; other videos are displayed initially, then stop unexpectedly.
    If I update Reader to 10.1.7 (latest version available for Mac OS10.5.8), none of the videos display, and I get a message that I need to install Flash.
    Installing Flash with the link provided in the special yellow bar at the top area of Reader fails consistently, probably because the Flash player pointed to is not compatible with Mac OS 10.5.8.
    Native/smooth support for media in Reader, anyone?

  • Can you embed video/audio in a captivate file?

    i was wondering if it's possible to somehow embed video/audio files in a captivate slideshow so that no sidecar files are required?
    or will i always need to keep seperate linked mp3 and flv files along side the captivate file?
    thanks!

    okay thanks shekhar for you reply : ) i don't have much experience with captivate, only flash.
    i think i've figured out that when inserting an audio file (e.g. .wav) the file is actually embedded in the cptx file, meaning you don't need the .wav file as a seperate file (like for example the way linked files in indesign work).
    however, for video files, i still don't know if it works the same way. are the files embedded? or linked?
    let me put it this way: if i have a captivate file that has video and audio in it and i want to move the project to a different computer - do i need to take only the cptx file? or do i need to also move some media files as well?
    thanks

  • How to embed video player in iPhone application?

    Hello Everybody,
    I want to embed video player in my application. I have one sample code provided by the iPhone developer documentation. But it is not running properly , it is just showing one rounded progress indicator and it is rotating n rotating and never coming to an end. Can any one here , tell me how do I proceed to embed video player in my application?
    Any information regarding this is highly appreciable.
    Thanks,
    Pandit Pakhurde

    Hi Roger,
    Actually, Code is running fine and not giving any error. When I am clicking on "Play Movie" button then iPhone is getting flipped with one window having black screen and round progress indicator is rotating in middle of the screen. But no picture. I also debug the code , all the necessory paths of the video files are same. I think there are two possibilities in this issue, either video is not getting loaded properly or iPhone simulator is not providing the necessary requirement to run video file.
    Is there anything I am missing then please let me know.
    Thanks,
    Pandit Pakhurde

Maybe you are looking for

  • IMac G5 won't boot in normal and safe mode, but will from single-user mode

    Hello everyone, I'm quite new here, so I try to do my best if you have a question. Yesterday, someone nearby me had a iMac G5 (Powermac8,1), and he sayd, that the computer sometimes will boot, sometimes not. I did test it, I thought it was running fi

  • XML in PSP

    Have a few, what may seem to the gurus in this group to be, pedantic questions about using XML in PSP. a] Does Oracle Support using XML inside of a PSP (PL/SQL Server Pages) script? b] The goal is to be able to display a tree like structure in a sepa

  • Random Numbers Appearing at Top of 5800

    Hello there. Two days ago, I purchased a Nokia 5800. I think it is an excellent phone, but I'm quite irked that I've already encountered a problem.  When I access the Menu, a random number fluctuates at the top right-hand corner of the screen somewhe

  • Plobrem in Desktop API , please help me!

    Hi all, I'm trying to write a desktop add-in to sync address data between PC and BB device(8707). But when I exec the DesktopSample code, I have two big problem. I tried in Desktop Manager version4.2.2, 4.3.0, but same plobrem has happen... <Problem

  • MacBook Pro (A1260, 2008) won't sleep on charger since 10.9.2?

    Hi, Since upgrading to OS X 10.9.2 (possibly unrelated), my A1260 2.4 GHz Core 2 Duo Late-2008 non-unibody MacBook Pro (with SSD upgrade) doesn't seem to want to sleep when the charger is plugged in. Shut the lid, and it'll just stay on solid-white-l