All Questions
103
questions
75
votes
5
answers
162k
views
differences between using wmode="transparent", "opaque", or "window" for an embedded object on a webpage
when embedding a Flash object with the <object> and <embed> tag, there is an attribute called wmode. It seems that most of the time, wmode="transparent" is the same as wmode="opaque" as ...
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" ...
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=...
7
votes
1
answer
5k
views
How do I allow script, object, param, embed, and iframe tags in HTMLPurifier?
This is kind of a special combination of tags that I want to allow in HTMLPurifier, but can't seem to get the combination to work.
I can get script tags to work, but then embed tags get removed (I ...
6
votes
1
answer
7k
views
Work with elements from embed or object tag
I have an svg graphics inserted in the page with an embed or object tag:
<object data="graphics.svg" type="image/svg+xml" id="graphics" />
The image is loading properly and I can see its SVG ...
5
votes
1
answer
4k
views
What does the classid in an <object> tag do?
I always see a classid in tags when I do static publishing using SWFObject, i.e.
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
What is this for?? Can I just drop it?
5
votes
1
answer
25k
views
embedding pdf file within html with 100% width and height?
I'm trying to embed a pdf document in html code, and I tried three different approaches, which actually gave me the same result:
<embed src="files/cv_aaragon_en.pdf" width="100%" height="100%">
...
4
votes
1
answer
11k
views
Differences between the HTML tags of embed, object, and video?
What are the technical differences between those three tags and why would someone use one over the other? In HTML 4 why did embed fall out of favor and have object replace it, only to come back into ...
4
votes
1
answer
658
views
Journey won't stop playing! (Changing Embed Object's Values With JQuery Doesn't Change Playing Video)
I have a page with the following video player:
<div id="flashContent">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="589" height="470" id="Take5" align="...
4
votes
0
answers
756
views
pointer-events:none on embed/object in and out of iframe browser inconsistencies/bugs
I need to have pointer-events: none on a youtube video to allow clicking of the parent div. Not being able to interact with the video is required behaviour. Check out the jsfiddle:
http://jsfiddle....
3
votes
2
answers
6k
views
Creating custom "html"-tags for CMS?
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 ...
3
votes
2
answers
42k
views
SWF object params - scale or scaleMode
In my job I'm embedding SWF files into HTML documents all the time. I often asked myself a few things:
Is it scaleMode="noscale" or scale="noscale"? And are the values case-sensitive? I saw a few ...
3
votes
3
answers
1k
views
embedding flv and swf located outside webroot
I have a script that uploads outside of the webroot. Through the website I then link users to images documents etc.
So for an image the link would be:
media.php?file=nameoffile.jpg&user=userid&...
3
votes
2
answers
2k
views
Add attribute to embed tag using jquery
I have the following embed tag:
<embed type="application/x-shockwave-flash" width="640" height="505" src="url_to_video" allowscriptaccess="always" allowfullscreen="true"></embed>
I have ...
2
votes
3
answers
8k
views
Windows Media player object z-index
What makes windows media player layer over my drop menu page elements? It doesn't seem to help if I change the z-index for the media player object. I have a z-index of 99 for my drop down menu page ...
2
votes
2
answers
5k
views
"adobe flash player has stopped a potentially unsafe operation" in HTML Flash loaded
I am getting error "adobe flash player has stopped a potentially unsafe operation" when I loaded HTML Flash Browser.
When I embed swf in html with object code & used in website, it is not ...
2
votes
1
answer
6k
views
How to get the links from all the embedded videos on a webpage?
Let me explain. What I'm trying to do is, given a certain webpage I want to get the count of how many embedded videos and their links.
I'm not asking for the code itself, but some pieces of ...
2
votes
3
answers
117
views
jQuery won't work if externally loaded elements
I'm importing an external php file into a different php file.
External file:
function featured($featured) {
echo '<button id="switch">CLICK ME!</button>';
echo '<object type="...
2
votes
3
answers
678
views
embed tag for flash and w3c
when validating a site using w3c validator it tells me the embed tag is not valid markup. So i take it out and it works on safari/chrome but not firefox(3.5.x) but validates fine. Is there something ...
2
votes
0
answers
135
views
iPad MP4 Embed - Possible 'Target' parameter values...?
I have a web page with a number of MP4 video files embeded at thumbnail size into it ready to play - The size is achieved (probably badly) by reducing the embed dimensions in the OBJECT / EMBED code.
...
2
votes
0
answers
1k
views
How to edit file in client browser and then send it back to server
I am building a application in which user has to fill the pdf form and has to send it back to server.
I was hoping it to do it with object HTML tag. But i dont know how to send that edited document ...
2
votes
1
answer
181
views
Specifying only a width on an object/embed element
I have the following code:
<object width="1000" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab">
<param id="FileNameParam" ...
1
vote
1
answer
1k
views
Embed user control on web page
I am using c# to create user control , i build the myControll.dll.
But how can i embed this on a web page ? I am not using Asp.net.
I tried the following
<OBJECT id="myControll" name="myControll....
1
vote
2
answers
76
views
XHTML Markup Validation
i have my site [here][link removed]
when i run it through validator, i get several errors regarding the:
<embed src="inception/inception.mov" width="620" height="274" autoplay="false" controller="...
1
vote
1
answer
2k
views
audio in internet explorer and cross-browser
I have an audio element in a webpage for a client and i have coded it as well as i can but i still can't get it to work on All browsers. I know cross browser and browser editions (i.e. internet ...
1
vote
2
answers
926
views
How to detect empty object?
This is a generic question on how to detect if an object is empty. I declare a variable as an object:
description = discord.Embed()
Put it through a method which may or may not pass arguments to the ...
1
vote
1
answer
88
views
If else statement inside type="text/html"
How to use if else statement inside type="text/html"
I want to use <embed> tag for IE browsers otherwise <object> tag
If Internet explorer
<embed data-bind="attr: { src: data.files()...
1
vote
1
answer
457
views
How do I make this flash file autplay?
Check out this flash file loaded here: http://www.gameprehacks.com/ad.html
or view code below
<object type="application/x-shockwave-flash" width="336" height="280"
data="http://buxle.com/buxle-...
1
vote
1
answer
2k
views
Cache external embed pdf with javascript or html
I have the following external pdf embedded as shown below. The pdf displays fine, but how do I cache the pdf so that the page doesn't redownload the pdf each time I visit the page? Should I use an ...
1
vote
1
answer
2k
views
embedding .jar file to webpage/website
I have a client who has a java based game which he wants to make available online (at the moment it is desktop version which he had to install). He asked me whether I can embed it into a webpage. ...
1
vote
2
answers
3k
views
IE9 "feature": turns oldie object/embed pair tags into single object tag, but it failed
I'm working on a project which allowing end users to embed a flash in their own HTML pages while we offer different ways so user could choose one that works for their circumstances, for example, most ...
1
vote
1
answer
1k
views
jQuery -- resize multiple objects, width and height scale linked
Hey folks, I have to apologize for my inexperience here, I've been working on this for about an hour but I'm so new to jQuery that I don't even know what to search for...
I've got a page (http://...
1
vote
5
answers
21k
views
How to dynamically change the "src" or "data" for a PDF Object / Embed file using JavaScript?
I have a web application that is dynamically loading PDF files for viewing in the browser.
Currently, it uses "innerHTML" to replace a div with the PDF Object. This works.
But, is there a better way ...
1
vote
0
answers
527
views
Include a form from Salesforce Marketing Cloud on site via <embed>, <object>, or <iframe>?
I need to include forms created in Salesforce Marketing Cloud onto a separate site. Between embed, object, or iframe... which approach is best for this type of media (form with confirmation)? Which ...
1
vote
0
answers
993
views
<embed>PDF isn't scrollable on mobile
I've introduced an <embed> element on my web page for a PDF, it was kind of a weird work around with the web software I'm using but it works fine on a PC. But when I go on mobile it won't scroll ...
1
vote
0
answers
565
views
PDF base64 shows empty in Google chrome and Egde
I want to load pdf from Db and display in my site (Blazor). I tried to use embed/object/frame and it is working in Firefox, but not working in Google Chrome and Edge. Here is my file in JsFiddle:
...
1
vote
0
answers
79
views
Edge not showing download option with PDF object?
I have an PDF embedded in the page using the following code:
<object width="100%" height="800" type="application/pdf" data="/example.pdf" id="pdf_content">
<p>Insert your ...
1
vote
0
answers
551
views
Is it possible to mute and unmute sound from <object> and <embed>
So I have an <object> and <embed> (which is the fallback) loaded into a html file (index.html)
like so:
<object id="glitch"
data="skull/Glitch"
width="100%" height="100%"
style="...
1
vote
1
answer
3k
views
Cannot display word and presentation document in webpage using object tag
I want to display word,presentation and pdf documents in objects tag the pdf documents are displaying properly but the when i try to display ppt or doc file
then no content get displayed and the file ...
1
vote
0
answers
931
views
How to display .html file in a web page preventing downloading
I want to display the myfile.html file in a web page using the iframe tag, but, instead of displaying the contents of the my.html file, the browser downloads the file on the local computer. What ...
1
vote
1
answer
123
views
SWF object not work in HTML
I have problem with my .SWF banner, when I open direct object http://www.tenisovysvet.sk/TS_banner.swf, everything works good, but when I placed this object into html website, there is a problem with ...
1
vote
2
answers
266
views
Remove margins of embedded web page
I am trying to embed my Bandcamp page onto my website but there are some undesired side margins:
http://bandcamp.nummermusic.com/
The original embedded page being:
https://nummer.bandcamp.com/
I ...
1
vote
0
answers
144
views
Using <object> to embed content on blogs, need to resize <object> element according to content inside
I am working on a project in which users upload photos. They are then given an embed code that they can place in their blog posts. This uses the object tag and fills it with content from our server. ...
1
vote
2
answers
2k
views
Looping background MIDI file in a webpage
I never thought, I'd have to ask THIS question:
Is there a cross-browser way to play background MIDI files in a website without the need for a plugin?
(Now, please don't answer with "don't do it! it'...
1
vote
1
answer
265
views
PDF embedded with <object> acting odd
I am trying to embed a pdf in a web page. I am using the following code:
<object data='pdf/main.pdf#nameddest=fun&view=FitH'
type='application/pdf'
width='740'
...
1
vote
0
answers
279
views
Issues embedding a windows media video with fixed dimension and be able to access object through javascript
I'm trying to embed Windows Media Video into a webpage using a playlist and having the requirement to access the playstate change events and clips through javascript. Therefore I tried several embed ...
1
vote
2
answers
7k
views
html pdf object tag - parameters not working
In a simple html object tag like this:
<object data='Calendar2012_2013.pdf#page=2'
type='application/pdf'
width='90%'
height='1000px'>
<p>It appears your Web ...
1
vote
0
answers
130
views
<object> and <embed> do not recalculate width when the height is strictly given in CSS
I have a flash stuff on a web page, which height I want to control basing on parent's explicitly set height. Width should be recalculated to preserve proportions - as it happens when dealing with <...
1
vote
1
answer
2k
views
Youtube Embed Won't Display in IE
It won't show up in IE8. I'm not sure what is wrong.
<object type="application/x-shockwave-flash" style="width:360px; height:295px;" data="http://www.youtube.com/v/nwzbAnyThGU?rel=0&loop=...
1
vote
0
answers
718
views
Embed mp4 video in site
What is the best way to embed a mp4 video in a webpage? I tried quicktime but if the user doesn't have it it takes a really long time. YouTube is not an option at this point. Any other solutions?
...