Change an attribute of iframe that cross domain

290
November 28, 2016, at 8:54 PM

I have a instagram video embedded by iframe tag in wordpress website. I try to change one attribute of this video that is nested within the iframe. Look like this:

<iframe src="instagram.com/sth/sth">
  <#document>
   <html>
    <head>
    <body>
      <div1 class = "Embed">
        <div2 class = "Embed-video">
.......
</iframe>

If I want to change the class name of div2, how should I work around the cross domain issue? So far I have tried to reset the domain of subdomain, jquery plugin I found online,etc, nothing works.

Thank you very much in advance

READ ALSO
How to add circles around markers on Google Maps API

How to add circles around markers on Google Maps API

This is a code that I use to display markers on several places in google mapsI want to make an addition to this and add a 5km circle around the markers

289
How much of an element is visible in viewport

How much of an element is visible in viewport

There's a div (brown rectangle) on the pageThe page is higher than the viewport (window) so it can be scrolled, which means that the div might only partially show up in the current viewport (orange rectangle) or not at all

261
Load whole AngularJS page by AJAX

Load whole AngularJS page by AJAX

I need to load a whole legacy page including some AngularJS by AJAX into our new page

289
ajax respond in codeigniter

ajax respond in codeigniter

I have this sign-up form with a simple check an the e-mail already exists in database: jquery

293