Support Forums for LiveMesh Themes & Plugins › Forums › Agile Theme Support › How to configure options for video in Home 3
- This topic has 14 replies, 4 voices, and was last updated 9 years, 11 months ago by Nexus.
-
AuthorPosts
-
April 8, 2014 at 10:06 am #5753varunsatMember
Hello,
I can’t seem to find any documentation on what options are available for embedding a video such as that on Home 3.
When i go to “Page sections” –> “Video 2” –> edit.
I see that it uses short code “video_showcase”
What options do i have for this, for ex. hide show controls, maybe add a blur effect to the video.Thanks!
April 9, 2014 at 3:36 am #5763ErnestoMemberHi, in line 157 of the video-shortcodes file that you’ve found, there’s a video tag. For that sort of tags, HTML5 supports a series of attributes, that you can find in this page: http://www.w3schools.com/tags/tag_video.asp
P.S: The blurring effect is way out of reach for this customization, since you need to edit the video file itself.
April 9, 2014 at 5:24 am #5765varunsatMemberThanks for pointing that out.
In your theme demo page i notice that you have embedded a full screen YouTube video. However in the theme sample files i downloaded it appears to use a local mp4/ogg video file(Some Formula1 video).
https://www.livemeshthemes.com/agile/home-3/
I would like to implement exactly as you have in the demo here(Video of New York) i.e embed a full width YouTube video playing in the background, showing controls play pause etc. And with text and button overlay.
Could you help me with the short code for this page section please, thanks!
April 10, 2014 at 10:37 am #5811RaghavendraModeratorPls see the shortcode pasted here –
https://www.livemeshthemes.com/support/forums/topic/home-page-video-slider/#post-5810
April 10, 2014 at 1:37 pm #5820varunsatMemberTried that but it does not seem to work.
Attaching a screenshot of what it looks like after i pasted this code.
Appreciate any help to get this working.
Thanks!
April 11, 2014 at 1:00 am #5826ErnestoMemberHi, there’s is one thing that might help. Sometimes when you enter a HTML code in WP it sets up a code tag which prevents the code to actually kick in.
You might wanna check if that’s what keeping the code from working, if so, all you need to do is remove that code tag and it’ll work. To check thhat, you’ll need to go to the HTML View of your page in the Edit Page Screen.April 11, 2014 at 7:18 am #5843varunsatMemberUnfortunately that did not help. I also installed a fresh copy on my localhost and pasted the same short code. Behaves exactly like the screenshot i posted earlier.
Any other possible solutions?
April 11, 2014 at 7:34 am #5844varunsatMemberStill investigating and found what i think is a useful lead.
When searching this file: /wp-content/themes/agile/framework/shortcodes/video-shortcodes.php
For the keyword “ytp_video_showcase” it is not found. Maybe the php definition is missing in this version? could you please send me a copy of this video-shortcodes.php which works.
Attaching my video-shortcodes.php for your reference.
April 11, 2014 at 7:37 am #5845varunsatMemberDid not allow me to upload php. Renamed and attaching txt file here.
April 15, 2014 at 4:35 am #5936varunsatMemberThis reply has been marked as private.April 15, 2014 at 5:12 am #5940NexusModeratorHi Varun,
I see that you are using the old version of the theme and hence the ytp player shortcode is not working on your site. Just download the latest version of the theme files from themeforest and update the theme files and you will be able to use the youtube video section. Just changing the video-shortcodes.php file won’t work as there are lots of styling and js involved as well.
Thanks!
April 15, 2014 at 8:37 am #5946varunsatMemberThis reply has been marked as private.April 17, 2014 at 11:09 am #6021NexusModeratorThe reorder for portfolio and team will not work. Actually the Reorder plugin just puts the reorder link for all the custom post types. We used this plugin before to reorder the page sections, that’s it. Now with the new version of Agile we no longer need this plugin as we have our own implementations. If you want to reorder the portfolio then please see this post https://www.livemeshthemes.com/support/forums/topic/portfolio-ordering/
For the error that you are getting, it’s a permission issue. When you try to insert a shortcode actually the files in the framework / admin / tinymce folder are invoked.
Common reasons for this error are:
Incorrect file/directory permissions: Below 644.
In order files to be read by the webserver, their permissions have to be equal or above 644. You can update file permissions with a FTP client or through cPanel’s File Manager.Restrictive Apache directives inside .htaccess file.
There are two Apache directives which can cause this error – ‘Deny from’ and ‘Options -Indexes.Hope that helps.
April 17, 2014 at 11:51 am #6028varunsatMemberI was able to get the Portfolio ordered as desired. Works perfectly!
Thanks a tonne!
April 19, 2014 at 4:02 am #6079NexusModeratorGreat.
-
AuthorPosts
- The topic ‘How to configure options for video in Home 3’ is closed to new replies.