Questions tagged [embed]

To "Embed" is to place a software module, object, or application into your own application or web page.

To "Embed" is to place a software module, object, or application into your own application or web page.

Tag usage:

  • Use this tag for questions regarding embedding objects, videos, plug-ins and similar in your application or web site.
  • Do not use this tag for embedded systems programming, use instead.
  • Do not use this tag for the C programming #embed directive, use instead.

Embedding has advantages:

  • This lets the developer use proven functionality without having to code it himself.
  • The user gets a consistent experience that they may be familiar with from other applications, sites or devices.
  • The support base is often larger for the embedded component.

Embedding has drawbacks:

  • The embedded component may have security or stability flaws that are not immediately discernible to the developer.
  • The object is usually "as-is". So improvements or customization may be very difficult.
  • Royalties, fees, and/or restrictions may apply.

See these Wikipedia articles:

See also, these related tags:

4912 questions
41
votes
4 answers

How to make an embedded Youtube video automatically start playing?

In my project, there is a video gallery module. In this module, there are two options: direct FLV uploading, and adding a video embed code from YouTube. I am writing some embed code for a div element (actually, the embed code comes from database).…
Saritha
  • 1,947
  • 5
  • 18
  • 24
41
votes
7 answers

Posting an embedded video link using the Facebook Graph API

When manually attaching a video link (from YouTube, Vimeo, etc) to a post using the Facebook web interface, Facebook automatically recognizes the link as a video, and allows the resulting status message to play the video inline. The video is…
Ryan McGeary
  • 235,892
  • 13
  • 95
  • 104
40
votes
6 answers

How to embed new Youtube's live video permanent URL?

I stream live on youtube a lot and since yesterday I experience a weird thing: I embedded the livestream URL in my site. it was youtube.com/embed/ABCDE (normal embed link). That link used to show the current livestream and not a specific video. for…
Itay Ganor
  • 3,965
  • 3
  • 25
  • 40
39
votes
4 answers

How to specify parameters to google chrome adobe pdf viewer?

I have an embed tag like this: the #zoom=50 is a parameter that tells the pdf reader to zoom to 50%. This works in all browsers but google chrome because chrome…
BentOnCoding
  • 27,307
  • 14
  • 64
  • 92
38
votes
5 answers

how to display base64 encoded pdf?

I have to display base64 pdf in new tab. I am using below code var windo = window.open("", ""); var objbuilder = ''; objbuilder += ('
dnyaneshwar
  • 1,296
  • 3
  • 18
  • 26
37
votes
2 answers

Factory Girl + Mongoid embedded documents in fixtures

Let’s say you have the following mongoid documents: class User include Mongoid::Document embeds_one :name end class UserName include Mongoid::Document field :first field :last_initial embedded_in :user end How do you…
GTDev
  • 5,488
  • 9
  • 49
  • 84
37
votes
7 answers

Play a beep sound on button click

OK I've read several answers here but they didn't help me at all (in fact, none of them is being accepted as answer) Question is how to "Play a beep sound" on "button click" I am trying to make a website that works on touchscreen device so I want…
Ronaldinho Learn Coding
  • 13,254
  • 24
  • 83
  • 110
30
votes
2 answers

Embed UIViewController Programmatically?

I have a Storyboard setup with a UIViewController with an container view so that I can embed another UIViewController inside of it. In a certain scenario I need to change the embedded view controller. In my storyboard I cannot have two segues from…
Josh Kahane
  • 16,765
  • 45
  • 140
  • 253
30
votes
2 answers

Why do we need an embeddable programming language like Lua?

What are the typical use cases of using an embeddable programming language? Do I understand it correctly that such language should be embedded into some program environment and should be able to be executed from there?
Vladimir Kostyukov
  • 2,492
  • 3
  • 21
  • 30
29
votes
5 answers

Embed editable Google Docs spreadsheet without header & toolbar

I have the requirement to embed a Google Docs spreadsheet on a webpage, but it needs to be just the editable cells, without the Google navigation and toolbar at the top. I can't find a reference to the querystring variables for embedding Google docs…
Dan
  • 5,836
  • 22
  • 86
  • 140
29
votes
4 answers

Adding packages to Python "embedded" installation for Windows

From the documentation: The embedded distribution is a ZIP file containing a minimal Python environment. Sounds great! The 64-bit Windows embedded v3.6.5 of Python is only 13MB. As an alternative to compiling, I would like to zip some python…
feetwet
  • 3,248
  • 7
  • 46
  • 84
29
votes
1 answer

When do you embed mutex in struct in Go?

NOTE: I found the word 'embed' in the title was bad choice, but I will keep it. I see a lot of code does like this: type A struct { mu sync.Mutex ... } And use it like this: a := &A{} a.mu.Lock() defer a.mu.Unlock() a.Something() Is it…
kim yong bin
  • 439
  • 1
  • 4
  • 9
28
votes
8 answers

HTML Embedded PDF's & onload

I'm embedding a PDF in a web page with the following html :-
phil_h
27
votes
5 answers

How to embed a Python interpreter in a PyQT widget

I want to be able to bring up an interactive python terminal from my python application. Some, but not all, variables in my program needs to be exposed to the interpreter. Currently I use a sub-classed and modified QPlainTextEdit and route all…
Mathias
  • 1,446
  • 2
  • 16
  • 31
27
votes
2 answers

How to embed .ttf fonts in JavaFx 2.2?

Firstly, I am quite a new guy in coding. I need to embed a font in my java FXML-based app and don't know how to do it. I have pasted the font, fontName.ttf in a "resources" folder in the root of the sources of my project, ie App/src/app/resources. I…
Pratik Anand
  • 795
  • 5
  • 10
  • 19