embed

How can I embed gettext po files inside an executable and bind them at runtime?

Hi, I am writing a program that uses get text, and would like to distribute it without the po files. The embedding part is easy, but i could not find a way to bind the catalog from memory. Any help appreciated! Jon. ...

Facebook like status url detection

I am wondering if there is a script similar to the facebook status update thing, What I mean, is when for ex. I paste a youtube/other video site/image/link it automatically detects the contents of the page and associates an embed code with it (if its a video).. So I'm wondering if there is a ready script that has a large database of web...

PHP Server Information

I'm trying to write some code that various sites will embed, calling a script on my server. That script streams the binary data for an image and spits it into an image tag. However, I'm trying to control who has access to that script. So if I hand out my embed code to, say, yourwebsite.com, I want to make sure the client requesting th...

Python threads in embedded Python: How?

While experimenting with Python's (python.org) C API, I found myself wondering how to properly spawn threads via Python's threading package when Python itself is embedded in a C program. Functions PyEval_EvalCode and kin appear to terminate threads it "owns" as soon as the C function finishes evaluating a block of Python code. Roughly, r...

how to get BrowserManager play nice with SWFObject (Flex 3)

Hello people, I need to get the URL of the HTML where the SWF is embedded. I found out that it should be a piece of cake with BrowserManager, but unfortunately I use SWFObject to embed swf in html! and BrowserManager doesn't like that!! could someone help me with this? cheers ...

Best practice for allowing users to embed content

Hey guys, I know there are a lot of services out there that allow users to embed created forms on their websites, and I was curious about the best practices for creating such a service. Two obvious methods are iframes and div replacement with javascript. What are the advantages / disadvantages of both, and are there any other alternat...

Creating custom "html"-tags for CMS?

Hi everybody, I am working with a CMS for a web app in PHP, that has the needs of shortening the process for inserting (embedding) stuff, like a video from youtube or vimeo by wroting the following, which are stored in the database: <youtube id="wfI0Z6YJhL0" /> Which would output the following after some sort of replace: <!-- Custom...

Want to embed a font but cannot convert from Font Suitcase or PostScript Type 1 files

I am using FontSquirrel font generator to try to generate the embedded font files so that I can use the @font-face in css to embed for a Website. However, the font files I have (on Mac) are as follows and are greyed out and it is not possible to select them to convert on FontSquirrel or other converters (i.e. they don't seem to be a ra...

Picasa Web albums and my original album in pc : SYNCed

I have synchronized the album in my computer using the Picasa Sync option . Now if i delete a photo in my web album , will it affect the original photo stored in my computer ? will it get deleted ? ...

How to replace Youtube urls in text with embeded code (in PHP)?

This is what I've got so far: <?php $content = "word1 http://www.youtube.com/watch?v=yqfKe-67foQ&amp;feature=related word2 http://www.youtube.com/watch?v=2vq7gDEn99Y&amp;feature=related word3 http://www.youtube.com/watch?v=nW5HxgMYRto\nhttp://www.youtube.com/watch?v=8Uc2lpH0iZ0&amp;feature=fvhl"; $pattern = '/http:\/\/www\.youtube\.c...

how do i say "you need flash installed..." for embedded YouTube clips if the user doesn't have flash or html5

I'm embedding youtube clips on my site with the following code: <object width="259" height="215" style="margin:auto; width:262px; height:217px; position:relative;"> <param name="movie" value="http://www.youtube.com/v/&lt;?php echo $yt_id; ?>&hl=en&fs=1&rel=0&hl=en&fs=1&rel=0&showinfo=0&autoplay=1"></param> <param name="allowFul...

C/C++ within Ruby code?

C/C++ would be good option to write some of the performance critical aspects of a Ruby Application. I know this is possible. I would like to know how to add C/C++ code into Ruby code; any other language for that matter. Are there any practical applications of this which you noticed in open source projects or else? ...

what is the industry standard to implement a service like uservoice, getsatisfaction

I want to find out the industry standard for creat a service that is embedeble in websites. Just like uservoice, getsatisfaction, getclicky etc. ...

android: using ActivityGroup to embed activities

Im in the conceptualizing/design phase of building an app and i've hit a bit of a snag. Essentially i was looking for a way to embed one activity into the UI of another similar to how a TabHost/TabActivity. There would be a window at the top of the screen which would contain the other activity, and below that would be buttons and control...

Is it possible to "embed" a structure of variable type into another structure? (GCC)

Is it possible to embed a structure of varying type inside another structure in C? Basically I want to do something like this. struct A { int n; void *config; } struct AConfig { int a; char *b; } struct BConfig { int a; float b; } const struct A table[] = { { 103, (void*)(struct AConfig){ 1932, "hello" } }, { 438, (void*)(str...

embed and resize a swf video.

I am trying to figure out the best way to embed and resize swf videos. Here is the url to one of the videos I am looking to embed. http://help.servdot.com/cpanel-whm/cpanel/x3/m/Logging-into-cPanel.php The example embed code is <iframe src="http://help.servdot.com/cpanel-whm/cpanel/x3/m/Logging-into-cPanel.swf" width="780" height="624...

JavaScript Flash Embed Error

hi i have the following page: [here][link removed] the script i wrote is working fine. but the script attached to the flash player which i have no control over is throwing a script error (im using IE8). any ideas as to how can i fix this? if i run it locally there is no error. thanks. EDIT: says 'null' is null or not an object...

Embedding Office in Java

I'm trying to get Office 2007/2010 application embedded inside a Java application using SWT using the following code: import java.awt.Canvas; import javax.swing.JFrame; import org.eclipse.swt.SWT; import org.eclipse.swt.awt.SWT_AWT; import org.eclipse.swt.layout.FillLayout; import org.eclipse.swt.ole.win32.*; import org.eclipse.swt.wid...

WebKit browser in Java app on multiple platforms

I'm trying to embed a WebKit browser in my Java app. I insist on WebKit, because I don't want to test my HTML5/CSS/Javascript with every browser that, for instance, the Browser widget in the Eclipse SWT library supports. Is there a way to do this on Mac, Windows and Linux, and thus make sure that my web pages are rendered inside my Java...

Flex Embed png, meta data required

hi, this is a part of my code [Embed(source='dmr/images/icones/icnPresenceInline.png')]; [Bindable] private var presentAuBureau:Class; [Embed(source="dmr/images/icones/icnVacancesInline.png")]; [Bindable] private var enCongeAujourdhui:Class; override public function set data (val...