embed

Best way to embed flash in html

It exists too many method for embedding flash in html, which way is the best? Requirements are: Cross-browser support Support for alternative content (if flash is not supported by the browser) Possibility to require a specific version of the flash player I have been reading about SWFobject, anyone used/tested? ...

Embed Tag in HTML - How can I know in Javascript that the .wav file is done playing?

Right now I'm trying to add a button to a webpage that when pressed will start playing a .wav file by dynamically adding an embed tag to the DOM. The text switches to "Stop" while the sound plays, and I'd like to be able to switch it back automatically to "Play" once the file has finished playing. How would I be able to execute some Jav...

How to Disable AutoLoad for <embed>?

I embedded a default media player into my webpage with the following html {object height="20" width="200"} {embed src="url to music" autostart="false" loop="false" height="20" width="200"} {/object} (replace the { with <) Everytime I go to the website, this object automatically downloads the music. How can I disable the autodownload...

Is it possible to embed an AS3 swf in a DIV layered above an embedded AS2 swf?

I think the question is pretty self explanatory. Anyone done this before? UPDATE: Clarification on why I need to do this. We have a single swf behemoth of an AS1 - AS2 site with a large video gallery section. The client wants to update the video section as the AS2 code cannot handle their more recent, much larger, video files. The clien...

Embed xsl into an XML file

I'm trying to embed an xsl into a XML file. The reason for doing this is to create a single file that could be moved to different computers, this would prevent the need to move the xsl file. The xsl file is creating a table and grabbing a test step from the xml and whether it passed or failed, pretty simple. The issue I'm having, I t...

WebKit support for Delphi

Is there a way to embed the WebKit engine into a Delphi application? ...

Embed javascript as base64

Hello, I'm working on a small GreaseMonkey script where I would like to embed a jQuery plugin (Markitup) so that the script is fully self contained (images + js) except for jQuery who is served from google. I found the site http://www.greywyvern.com/code/php/binary2base64 wich says that you can embed javascript with the href if you base...

Embedding Lua in Objective Caml (OCaml)

Could you, please, give a code snippet showing how to use Lua embedded in OCaml? A simple example could be a "Hello, World" variant. Have OCaml prompt the user for a name. Then pass that name to a Lua function. Have Lua print a greeting and return the length of the name. Then have OCaml print a message about the length of the name. ...

How to embed YouTube videos in PHP ?

Can anyone give me an idea, how can we show or embed a YouTube video if we just have the URL or the Embed code. Thanks for the help ...

How to capture an event trigger when a flash movie successfully loaded?

I'm currently using jQuery, as well as swfObject to dynamically embed the swf movie into my web page. I currently having a problem on embeding immem's music player into my web page, as their embed code doesn't have any loading screen. So, when I replace the element using swfObject, that area will generally blank. In worst case, it means...

What's up with innerHTML and <embed>?

I'm trying to fix a bug in a rich text editor I'm using, which causes <embed> tags to be inserted without their closing tag (which screws the output up completely). I've isolated the problem to this operation: // body is a <body> tag body.innerHTML = '<embed src="http://example.com/whatever"&gt;&lt;/embed&gt;'; No fancy code, just Fir...

How to embed a Java control on a C# winforms control?

Can I put a Java control (SWT, Swing, ...) on a C# control? I know it's possible with web controls but I don't like this way. ...

Embedding flash Wimpy player so that it works in Firefox

Can somebody help me getting Wimpy player to work in Firefox? I followed the guide from Wimpy documentation page and am still getting nowhere. For tests, I used the same HTML code to embed different swf file and it works perfectly. Could it be the SWF file corrupted itself? Then why it works fine on IE? Here is a test HTML code with tw...

embedding an application within a c# program with gtk#

Hi all, I'd like to embed a movie watching application like VLC into my C# program using the GTK# binding. Googling, I haven't seen many solutions that people have claimed to be easy or that work. Experiences? Help? Please! Thanks, jbu ...

Scripting language for embedding into C#/.NET applications?

[The only similar question I can find was answered long ago and contains a reference to mostly IronPython. I want to consider other options as well] We have a complex data analysis application written in C#. The application should provide users with a sophisticated means of customizing their data analysis tasks. Currently, we use a mixt...

Embed resources (png,jpg,mp3,wmv,etc) in silverlight xap file and reference from xaml

Basically I would like to be able to do something like this in my xaml: <Image Source="Resources/logout.png" /> and have it find Resources/logout.png as a file in my xap file, without going back to the web server. I also want to be able to rebuild my xap file on the fly, so placing it as a resource in a dll is not acceptable. Any id...

embedding audio in html - ie and firefox using php...

I'm trying to create an audio captcha system for the visually impaired. I have a system that will glue several wave files together, but I'm having trouble embedding them in ie and firefox. <script type="text/javascript"> function EvalSound(soundobj) { var thissound=document.getElementById(soundobj); thissound.Play(); } </script> <embe...

Why does MIcroQuill Smartheap throw "mem_bad_pointer" errors after I embed perl?

I am embedding perl in a C++ application that uses Smartheap. Regardless of whether I compile the perl to use its own malloc or the system's I get a bunch of error mem___bad_pointer dialogs. It seems to work fine when I just click "ok" and ignore the errors, but obviously I need to actually solve the problem. Do I maybe need to compil...

frames behind pictures?

Hey there, my question is related to HTML, and PURE html. im working on a new design for my front page on a social network called kwick, and i want to create a kind of space for my favorite Video at the moment. now my problem is, how do i realize sth like this: i take a picture of my ipod like that(just an example, its not my ipod) ht...

Embedding icon in .exe with py2exe, visible in Vista?

Hello, I've been trying to embed an icon (.ico) into my "compyled" .exe with py2exe. Py2Exe does have a way to embed an icon: windows=[{ 'script':'MyScript.py', 'icon_resources':[(1,'MyIcon.ico')] }] And that's what I am using. The icon shows up fine on Windows XP or lower, but doesn't show at all on Vista. I suppose this is...