Home › Forums › Weaver Xtreme Theme › – Playing a video in the header area…
- This topic has 9 replies, 3 voices, and was last updated 8 years, 8 months ago by
scrambler.
-
AuthorPosts
-
March 18, 2015 at 21:47 UTC - Views: 10 #17480
jaimereborn
ParticipantI’m trying to play a video in header area of Weaver Xtreme (basic).
I’ve tried variations of the code, and it shows briefly as the page is reloading but once the page comes up, it does not display.
Here’s the code:
<div id=header-html><iframe width=”560″ height=”315″ src=”https://www.youtube.com/embed/UTIiU6D-9H4″ frameborder=”0″ allowfullscreen></iframe></div>
Here’s the website.…thanks!
March 18, 2015 at 22:02 UTC - Views: 1 #20608scrambler
ModeratorIf you want to insert a youtube video, use weaver youtube shortcode as explained in the Add-Ons page
March 18, 2015 at 22:22 UTC - Views: 22 #20609jaimereborn
ParticipantCan I do this on Xtreme (basic)?
This all I see on the add-ons page:
The Weaver Xtreme Theme Support plugin provides a collection of useful shortcodes and widgets to make it even easier to customize your site.
See Weaver Xtreme Plugins for complete details.
Shortcodes and Widgets included:
- [show|hide_if] – Show or hide content based on device, page/post ID, user role, or logged in status
- [tab_group] – Add content to a tabbed box
- [youtube] – Show your YouTube videos responsively, and with the capability to use any of the YouTube custom display options
- [vimeo] – Show your Vimeo videos responsively, and with the capability to use any of the Vimeo custom display options
- [iframe] – Quick and easy display of content in an iframe
- Plus more shortcodes
- Adds shortcode support to the standard Text Widget
- Weaver Xtreme 2 Column Text Widget – Add text into two columns in a widget
- Weaver Xtreme Per Page Text Widget – Add a text widget on a per page basi
I don’t seen any details on displaying a YouTube video in Xtreme (basic).March 18, 2015 at 22:24 UTC - Views: 1 #20610jaimereborn
ParticipantI’m going to try some code that you used on another page. I’ll let you know if it works.
March 18, 2015 at 22:29 UTC - Views: 1 #20611jaimereborn
Participant…no, that didn’t work.
March 18, 2015 at 22:33 UTC - Views: 1 #20612Gillian
ModeratorDo you have the Weaver Xtreme Theme Support plugin installed? If not, install it and then click on the question mark beside the YouTube option for help on how to use it.
March 18, 2015 at 22:47 UTC - Views: 1 #20613jaimereborn
ParticipantGillian,
…thanks, I do have it installed. I’ll check it.March 18, 2015 at 23:07 UTC - Views: 5 #20614jaimereborn
ParticipantGillian,
I’m trying to get it to display and center in the header area and this is the only code that will make it run in that area.[youtube http://www.youtube.com/watch?v=UTIiU6D-9H4 id=videoid sd=0 percent=100 center=1 rel=1 https=0 privacy=0 {youtube options}]…but I don’t want it to show the YouTube link at the top of the page.
I think I’ll just show the video in the content area on the page if it’s that difficult to get it to come up in the header area.
March 18, 2015 at 23:08 UTC - Views: 1 #20615jaimereborn
Participant…whoops. I meant to just show the code. ..lol. …well, at least it works in here.
March 19, 2015 at 00:01 UTC - Views: 2 #20616scrambler
ModeratorRead the help of the shortcode, you should not put all the options you don’t need.
Try just
[youtube id=UTIiU6D-9H4]
-
AuthorPosts
- You must be logged in to reply to this topic.