How to configure options for video in Home 3

Support Forums for LiveMesh Themes & Plugins Forums Agile Theme Support How to configure options for video in Home 3

This topic is: resolved

Tagged: ,

This topic contains 14 replies, has 4 voices, and was last updated by Nexus Nexus 5 years, 3 months ago.

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #5753
    Varunsat
    varunsat
    Member
    Post count: 14

    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!

    #5763
    Ernesto
    Ernesto
    Member
    Post count: 702

    Hi, 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.

    #5765
    Varunsat
    varunsat
    Member
    Post count: 14

    Thanks 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!

    #5811
    Raghavendra
    Raghavendra
    Moderator
    Post count: 4604
    #5820
    Varunsat
    varunsat
    Member
    Post count: 14

    Tried 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!

    #5826
    Ernesto
    Ernesto
    Member
    Post count: 702

    Hi, 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.

    #5843
    Varunsat
    varunsat
    Member
    Post count: 14

    Unfortunately 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?

    #5844
    Varunsat
    varunsat
    Member
    Post count: 14

    Still 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.

    #5845
    Varunsat
    varunsat
    Member
    Post count: 14

    Did not allow me to upload php. Renamed and attaching txt file here.

    #5936
    Varunsat
    varunsat
    Member
    Post count: 14
    This reply has been marked as private.
    #5940
    Nexus
    Nexus
    Moderator
    Post count: 1022

    Hi 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!

    #5946
    Varunsat
    varunsat
    Member
    Post count: 14
    This reply has been marked as private.
    #6021
    Nexus
    Nexus
    Moderator
    Post count: 1022

    The 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.

    #6028
    Varunsat
    varunsat
    Member
    Post count: 14

    I was able to get the Portfolio ordered as desired. Works perfectly!

    Thanks a tonne!

    #6079
    Nexus
    Nexus
    Moderator
    Post count: 1022

    Great.

Viewing 15 posts - 1 through 15 (of 15 total)

The topic ‘How to configure options for video in Home 3’ is closed to new replies.