RosscoGC
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Minamaze] Unable to Embed Youtube videos with Shortcode@robertamundson you are trying to embed incorrectly and that is why it is not working see below correct way.
1: Make sure on the page you are editing you select text from the visual/Text tabs
2: on youtube select Share tab under the video then > embed
3: this will give you the following code for your above video
<iframe width=”853″ height=”480″ src=”//www.youtube.com/embed/vynu4_0ERp0?rel=0″ frameborder=”0″ allowfullscreen></iframe>
4: Paste this into the location you wish for it to show up in
5: select the visual tab and you will see a yellow outlined box representing the video, now publish and view the page and you will see your video embedded and working how it should.note: that you adjust the size of the video to suit your theme by changing the dimensions in the embed code as above width 853 height 480 keeping proportions in mind.
note2: embed codes do not use shortcodes so don’t wrap it in [ brackets ]Hi Guys
Sorry for the delayed response, below is the link to the problem page mind you this is happening on every gallery page throughout the site but only looks to be an IE issues. Safari etc, are fine https://goo.gl/OMjLMS
I have cleared cache SS and locally but doesn’t correct the issue.
Thanks for your help here
Ross
anyone having this issue?
Hi Peter and thanks for that, i have added the above code which has reduced the amount of errors i was getting but i still get the following!
Trying to get property of non-object in /home/xxxxxx/public_html/wp-includes/query.php on line 3385
Notice: Trying to get property of non-object in /home/xxxxxx/public_html/wp-includes/query.php on line 3387
Notice: Trying to get property of non-object in /home/xxxxxx/public_html/wp-includes/query.php on line 3389