Questions tagged [embed-tag]

13 questions
197
votes
6 answers

vs.
Which is the right/best tag to use in my HTML file when I want to display the Adobe PDF viewer? Right now I'm using the code below, but there are weird side effects (e.g. it seems to steal the starting focus that I've set to another text…
JayhawksFan93
  • 2,353
  • 3
  • 15
  • 11
6
votes
2 answers

How to know when an element's content has loaded

I'm programmatically adding an tag to my HTML document: var e = document.createElement('embed'); e.src = "some-image.svg"; e.type = "image/svg+xml"; document.body.appendChild(e); This works fine, and the SVG element displays as expected.…
Drew Noakes
  • 300,895
  • 165
  • 679
  • 742
4
votes
0 answers

Embedding google drive video in html page, in a way compatible with chrome, firefox and IE

I have to embed a video from my google drive in my website page. The video would initially be hidden behind an image and on clicking the image the video should start playing. The implementation that I have tried are as below, 1) using video…
Pradyumna
  • 41
  • 3
4
votes
1 answer

Google Chrome complains about flash when using with PDF file

I'm building a very simple component in Vue to preview PDF files and images in a modal. I'm using Vue Boostrap's modal component. In the body of the modal I have the following line:
Francisco Hanna
  • 1,137
  • 1
  • 11
  • 27
2
votes
0 answers

How to get or call Javascript var in HTML object tag or HTML embed tag from parent html page?

I have embedded a codmirror html file by 3 different way such as iframe tag, embed tag and object tag inside another html file on the same server.
lsa
  • 63
  • 6
2
votes
1 answer

How to add onClick event on embed tag?

I want to add onclick event on embed tag but the problem is,it is not working on chrome and the handler is not working.Other than onclick event mouseover and mouseleave are working.here is the code HTML
2
votes
1 answer

embed tag src attribute prepends unsafe: in ember js

I am trying to use an embed tag and provided a dynamic url for the src attribute But when the page is opened I get I changed permissions of CSP…
wallop
  • 2,510
  • 1
  • 22
  • 39
1
vote
1 answer

Cannot locate the source of mp3 file using

I want background music on my page, but i cannot locate it. Ive tried it many times and I am sure the path is correct. Path of the file : C:\Users\matous\Downloads\idklol
randompage.
ikuro
  • 87
  • 5
1
vote
0 answers

Chrome embedding SVG results in infinite requests

I'm migrating from self serving SVGs in my app to storing them out on Azure as a blob. Doing the following when the URL is being served by the app works fine: However,…
Matt Sieker
  • 9,349
  • 2
  • 25
  • 43
1
vote
0 answers

selenium doesn't click flash upload in an embed tag

I tried to click on it directly and tried switching frame but it doesn't automate it when i manually click on it it works an d open a window popup to upload file but using selenium it doesn't:
0
votes
0 answers

YouTube Embed Tag mute/unmute button, distorted sound

The current code is below. I am using Bakery. When I remove the mute tag the sound is distorted like in stereo but instead of real stereo it sounds like double mono. I want it to autoplay with a mute button option with the same audio from the…
The DCA
  • 1
  • 1
0
votes
1 answer

Unable to access the modal elements to download pdf with selenium

I am web scraping a website that opens up the pdf I want to access in a modal view. I want to download/access this pdf. It opens up as a pdf viewer in a modal and I can't access the download button or any other element through the Xpath. On…
0
votes
1 answer

embed tag causing error in console

I have an embed tag displaying a SVG: It's causing an error in the console: When I comment out the embed tag the error goes away. Any ideas why this is happening? I don't think it should be a…
Ben Roberts
  • 63
  • 2
  • 12