All Questions
1,290
questions
179
votes
15
answers
479k
views
How to embed a SWF file in an HTML page?
How do you embed a SWF file in an HTML page?
87
votes
6
answers
137k
views
How to embed fonts in HTML?
I'm trying to figure out a decent solution (especially from the SEO side) for embedding fonts in web pages. So far I have seen the W3C solution, which doesn't even work on Firefox, and this pretty ...
69
votes
7
answers
156k
views
Can I embed a .png image into an HTML page?
How can I embed a .png file into a blank "file.html" so that when you open that file in any browser you see that image?
In this scenario, the image file is not linked to from the HTML, but ...
68
votes
12
answers
63k
views
Embedding youtube video "Refused to display document because display forbidden by X-Frame-Options"
I'm trying to embed a youtube video on to my page once the user gives the link to the video.
<iframe width=\'560\' height=\'315\' src='http://www.youtube.com/watch?v=<video id>&...
65
votes
6
answers
162k
views
Hiding the toolbars surrounding an embedded pdf?
Though I think the answer maybe in this other question's answer concerning the pdf specification, is it possible to not display the adobe acrobat toolbars in an embedded pdf document?
61
votes
4
answers
206k
views
How to embed a Google Drive folder in a web page
I have a folder in Google Drive that I'd like to embed in my web page. I can't find an embed code or anything documented in Google Drive Help articles.
56
votes
5
answers
167k
views
Embed an External Page Without an Iframe?
Is there any way to embed an external web page without using an iframe? I have access to both sites, I just want the page that the content is embedded on to resize based on the content that is ...
52
votes
10
answers
206k
views
Force youtube embed to start in 720p
There are a few methods suggested for doing this online, but none of them seem to work.
For example:
http://blog.makezine.com/archive/2008/11/youtube-in-720p-hd-viewin.html
That article is about ...
44
votes
6
answers
195k
views
How to embed PDF file with responsive width
I'm embedding pdf files using something like this:
<div class="graph-outline">
<object style="width:100%;" data="path/to/file.pdf?#zoom=85&scrollbar=0&toolbar=0&navpanes=0" ...
40
votes
4
answers
45k
views
How to specify parameters to google chrome adobe pdf viewer?
I have an embed tag like this:
<embed src="../../Content/PDF/StockReport.pdf#zoom=50" width="100%" height="100%">
the #zoom=50 is a parameter that tells the pdf reader to zoom to 50%.
This ...
37
votes
7
answers
108k
views
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 ...
37
votes
5
answers
198k
views
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 += ('<embed width=\'100%\' height=\'100%\' ...
28
votes
8
answers
32k
views
HTML Embedded PDF's & onload
I'm embedding a PDF in a web page with the following html :-
<object id="pdf" classid="clsid:CA8A9780-280D-11CF-A24D-444553540000" width="1024" height="600">
<param name="SRC" value="/...
28
votes
2
answers
42k
views
How to create embed code for other sites
I have a service of job portal which other users can use for their sites and blogs. they copy embed code from my site, paste it in their site and display job board in their webpage. how create this ...
26
votes
4
answers
242k
views
Embed website into my site
What I am trying to do is embed a website into mine. When you search something on their page their embed site redirects through their pages though it will still be on my web page. Any help will be ...
26
votes
1
answer
36k
views
Html - embed image directly in html (old school style)
I know you can embed images in html today with:
<IMG SRC="data:image/gif;base64,RAAA...more data.....">
But back in the day, when Netscape was a browser to implement for, there was another way ...
25
votes
5
answers
76k
views
How to get height=100% on <object> Embed
I'm trying to insert the following code but it is not working.
I am not able to get 100% height with this. Can anyone help me?
Thanks!
<body style="overflow:hidden;">
<TABLE align=left width=...
25
votes
6
answers
86k
views
How to embed high quality video with new YouTube iframe style code
I am using youtubes new iframe code to embed video but the videos seem to be lower quality than if I watch them on youtube. Is there a way to embed the high quality video?
My code at the moment is
&...
24
votes
3
answers
58k
views
How to embed images in a single HTML / PHP file?
I am creating a lightweight, single-file database administration tool and I would like to bundle some small icons with it. What is the best way to embed images in a HTML/PHP file?
I know a method ...
23
votes
5
answers
6k
views
How to embed a twitter timeline without retweets?
I'm embedding a twitter timeline into my website. However my retweets are being displayed there and I don't want them to.
Is there any easy way to turn them off? I can't seem to find any
My search ...
23
votes
8
answers
80k
views
Embed PDF in mobile browsers
I have the code below which is a perfect solution to what I need, which would essentially be embedding any of JPG, GIF, PNG or PDF files in my webpages. It works perfectly in PC browsers, but a ...
22
votes
7
answers
80k
views
Embed text files in html
I would like to display the content of a text file inside a HTML page (.rtf, .txt, .log,...) stored on the server.
I have tried with embed but seems that doesn't work.
<embed src="/...
22
votes
4
answers
66k
views
Auto-Full Screen for a Youtube embed
I have a Youtube video embeded on a webpage.
Is it possible to have the video go full screen when the user presses play, using the HTML5 iframe with Youtube's API?
Using the Chromeless player is ...
21
votes
2
answers
58k
views
How to create own embed site for Discord
As your know, when you type a website address (for ex. https://youtube.com), you also send a Rich Embed message of site automatically. How can I set this for my website?
19
votes
4
answers
39k
views
Including hidden data in an HTML page for javascript to process
I produce a complex HTML summary report from data in a database which could be a summary of maybe 200,000 rows in the database. The user can click a link to request an Excel version.
When they do a ...
19
votes
2
answers
4k
views
HTML5 game touch issues when embedded in an iframe
I'm trying to embed HTML5 games in iframes to display in browser on mobile devices such as iPads and iPhones.
If you visit them directly on an iPad they work fine.
But if you embed them using an ...
16
votes
4
answers
28k
views
Embed markdown (md) into HTML
I need help embedding a markdown, or *.md, file inside of an HTML index file. I have found that I can embed HTML inside of markdown, but not vice-versa. This would help to increase the speed of my ...
16
votes
1
answer
21k
views
File Url Cross Domain Issue in Chrome- Unexpected
The issue is about Chrome throwing Cross Domain Error on using file url
I am embedding a svg document into a HTML using the object tag with the data attribute in the form of relative path, upon ...
15
votes
2
answers
58k
views
How to embed a flash object on my website?
Well, I must say this is embarrassing to ask, but to my defense I'll say that throughout my years of web development I've never encountered a case where embedding flash was absolutely necessary.
The ...
13
votes
3
answers
67k
views
How do I embed a Vimeo video in HTML?
In HTML, you use the <iframe src="https://youtube.com/embed/videoId> element to embed a YouTube video. However, how am I embed Vimeo videos using the <iframe> element?
13
votes
3
answers
22k
views
how to share a video from my website on facebook like youtube
I have a website that has a HTML5 video player.
I want to share the link ( ex: http://site.com/video/example-2 ) on facebook and one the users click on the image of that post on the facebook it ...
13
votes
1
answer
110k
views
Java Embedding Into HTML
I'm sure this question has been asked a million times, but no matter how many Google searches I do I cannot get this working. I'm basically trying to get a project with multiple packages in it to be ...
13
votes
3
answers
17k
views
Passing Messages from iFrame Across all Browsers
I have an embed-able iframe that will be used on 3rd party sites. It has several forms to fill out, and at the end must inform the parent page that it is done.
In other words, the iframe needs to ...
13
votes
2
answers
14k
views
Change background color in PDF viewer using either embed, object or iframe methods
I've been playing around with different methods of displaying PDFs with the goal of finding a way of changing the grey background to white.
Here is a simple example using object tags (I get the same ...
12
votes
6
answers
111k
views
Embedding a media player in a website using HTML [closed]
What I want to do is to embed music files within a website (Have something a'la little mp3 player on the site). I want the audience to be able to play, stop etc the songs by using custom made ...
12
votes
4
answers
31k
views
Embed flash in html
In chrome, ie and safari this is not a problem, but in firefox it is.
I use <object> for my flashclip.
<object type="application/x-shockwave-flash">
<param name="movie" value="...
12
votes
1
answer
92k
views
How to embedded Instagram feed into my website [closed]
I am trying to integrate the Instagram feed of the client to the website sidebar. My website stack is Bootstrap, Vanilla JS, Jquery, and Laravel.
I googled and did some research. I can't find a direct ...
12
votes
5
answers
115k
views
Embed HTML table in email
Is it possible to send a table (coded in html) as the body of an email so that the recipient is able to view the table (parsed and displayed).
For example, I want to be able to send this as the body ...
12
votes
1
answer
2k
views
Google PDF Viewer default fit to width embed
When I embed a pdf using google's PDF viewer
<iframe src="https://drive.google.com/viewerng/viewer?embedded=true&url=http://jugglegood.com/out/scot-nery-resume-grand.pdf" ></iframe>
...
11
votes
3
answers
66k
views
PDF Embedded in <object> or <embed> tag not loading in IE 11
I have to create an Image slider for which I am using:
"Galleriffic plugin > http://www.twospy.com/galleriffic/",
in the Image slider, along with images, I have to show PDFs for some cases.
And to ...
11
votes
5
answers
27k
views
How to embed youtube livestream chat
I'm trying to embed a youtube livestream chat onto a webpage on my website,
<iframe allowfullscreen="" frameborder="0" height="270" src="https://www.youtube.com/live_chat?v=hHW1oY26kxQ&...
11
votes
4
answers
91k
views
embed PDF file in html using object tag
I m embeding a pdf document into my html code. For this i have wrote this code.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org
/TR/html4/loose.dtd">
<html ...
10
votes
8
answers
57k
views
How to embed a PDF file in a web site?
I simply want to embed a PDF file in a web site.
The best solution I've found is Google Docs Viewer (http://docs.google.com/viewer), but it does not work for IE and obviously that is not going to ...
10
votes
1
answer
12k
views
Unix sendmail - html embed image not working
With the prior posts in SO.com I have tried building my script to send email to my Outlook account with the Image inline in the email body. But the html contents are getting displayed in the html ...
10
votes
3
answers
3k
views
"Start time" on TED video embeds
http://jsfiddle.net/N8dYL/
The goal i'm trying to acchieve is that when you click play, the TED Talk starts playing at for example 02:22
I've tried several things i know from JWplayer like video.mp4?...
10
votes
2
answers
27k
views
Show PDF file on webpage as Carousel with each page as a separate slide
I am facing a challenging assignment - create a slider carousel which will be displaying separate pages of a single multi-page PDF as a separate slides on
webpage. Check out the image below to get the ...
10
votes
1
answer
40k
views
How to get around net::ERR_FAILED 200
So basically what im doing here is taking an embed, duplicating it to a canvas and then trying to change the background of said duplication transparent. It does work, however not in the browser due to ...
9
votes
5
answers
19k
views
Why does only youtube embeds work on iPad?
I am trying to find out as to why youtube embeds works just fine on iPad, and not the embeds of any other video site.
Example of youtube embed:
<object width="640" height="385">
<...
9
votes
4
answers
68k
views
How to Embed Video using HTML5 with local file
I'm trying to embed a video using html5 with a local mp4 file.
file on my local machine.
when i debug i keep getting invalid file path or unsupported video type.
What am i missing? I can get this ...
9
votes
2
answers
17k
views
Getting youtube.com to load in iFrame
Can't get Youtube's homepage, or any other youtube.com prefixed URL to load in an iFrame. Any suggestions or insights?
Code:
<iframe src="http://youtube.com" frameborder="0" width="1020" height="...