• Skip to content
  • Skip to primary sidebar
  • Skip to footer

Foliovision

Main navigation

  • Weblog
    • FV Player
    • WordPress
    • Video of the Week
    • Case Studies
    • Business
  • About
    • Testimonials
    • Meet the Team
    • We Support
    • Careers
    • Contact
    • Pricing
  • Products
  • Support
    • FV Player Docs
    • Pro Support
  • Login
  • Basket is empty

Harold

  • Profile
  • Topics Started
  • Replies Created

Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)
  • 7 years ago in reply to: How to disable lightbox closing on overlay click
    Harold

    Perfect! Thank you!

    8 years ago in reply to: Can't add a video to posts as a non admin user
    Harold

    Hi Eduard
    That is correct. I am able to use the shortcode editor, but when I click on the “insert” button, the shortcode doesn’t appear in the WP editor (As I said in a previous post, In cases when it does work – as an administrator, I see this button with the word “update” and not “insert”).
    I tried to add users with regular user roles like author and editor (which does not require the User Role Editor plugin, and I can’t add shortcodes for them either. Also, I changed two user’s user roles from ‘content manager’ to ‘administrator’ so they can use the shortcode editor. The first one works (is able to add shortcodes) but the second does not. They have the same capabilities as admins.

    In case this is related somehow: I use another plugin that is related to users, called ‘Dashboard access’.

    8 years ago in reply to: How to add cuepoints attribute to shortcode
    Harold

    Thank you Martin!
    I added a filter like you said and now it triggers my jQuery event.
    You helped me very much, Thank you!

    8 years ago in reply to: Can't add a video to posts as a non admin user
    Harold

    Hi Eduard,
    Yes, I’m using the ‘User Role Editor’ plugin.

    8 years ago in reply to: Add download button to the player
    Harold

    Hi Eduard
    I received the email saying Flowplayer 7.2.0 is out. Is that the version with the download button I was waiting for?
    I have the FV Player Pro plugin version 0.8.39. I still don’t see any download button on the players on my website. Do I need to change any settings or add any parameters to the shortcode to see the download button?

    8 years ago in reply to: get video duration of lightbox video in a custom page template
    Harold

    Hi Eduard
    Thank you for your response. Obviously I read this part of the programmers guide, but it doesn’t help me in my case. In the guide it’s all about fv players in a post, while in my case I have the players in a page.

    8 years ago in reply to: Add download button to the player
    Harold

    Hi Eduard
    Any news on this topic?

    8 years ago in reply to: How to open a lightbox video player from an AJAX response
    Harold

    Thank you Martin! Now everything works perfectly!

    8 years ago in reply to: How to open a lightbox video player from an AJAX response
    Harold

    Hi Martin
    1. the $f syntax is taken from this documentation: http://flash.flowplayer.org/documentation/api/index.html.
    Now I see it may be something that is not related to the flowplayer we are talking about. What is this, then?

    2. Creating one shortcode on the page and changing it’s source file didn’t work.

    3. What did work is what you initially said, to add a hidden shortcode for each video to the page and click it programmatically using JS when the user selects a video.
    Now I have one issue:
    Let’s say I have 15 hidden shortcodes on the page.
    When the player is displayed, it shows “2 of 15” (for example) on the bottom left corner and it has the ‘next’ and ‘prev’ buttons. Is there a way to get rid of this all?
    Thank you!

    8 years ago in reply to: How to open a lightbox video player from an AJAX response
    Harold

    I tried that too. I added one shortcode in the page itself that looks like this:
    <div id=”player-container” style=”display: none;”>
    <?php
    echo do_shortcode(‘[fvplayer src="movie.mp4" lightbox="true;text" caption="Watch Video"]‘);
    ?>
    </div>
    and wanted to reset its video file source to the selected video every time a user selects a different video. Then I have these problems:
    1. When I try to access the player in my script (on select change event), I write:
    $(“#player-container a”).flowplayer();
    and get errors like (randomly):
    SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data fv-flowplayer.min.js:402:16

    or:
    Uncaught SyntaxError: Unexpected token u in JSON at position 0
    at JSON.parse (<anonymous>)
    at fv_player_videos_parse (fv-flowplayer.min.js?ver=6.2.9:402)
    at fv-flowplayer.min.js?ver=6.2.9:475
    at fv-flowplayer.min.js?ver=6.2.9:7
    at Array.forEach (<anonymous>)
    at fv-flowplayer.min.js?ver=6.2.9:7
    at HTMLDivElement.l (fv-flowplayer.min.js?ver=6.2.9:6)
    at Object.e.trigger (fv-flowplayer.min.js?ver=6.2.9:6)
    at r (fv-flowplayer.min.js?ver=6.2.9:7)
    at HTMLAnchorElement.<anonymous> (fv-flowplayer.min.js?ver=6.2.9:7)

    or even:
    flowplayer() is not a function.

    then I try this:
    var player = $f(“player-container”);
    and get this error:
    ReferenceError: $f is not defined

    Now, assuming you can help me with the problems above, I would like to know how exactly to reset the video url of the player. If you can give me a code example, I will appreciate it very much.
    Thank you!

    8 years ago in reply to: How to open a lightbox video player from an AJAX response
    Harold

    Thank you for your reply.
    Your suggestion was one of the things I tried, unsuccessfully. I added shortcodes in the HTML code returned by AJAX, but when I click on a link that suppose to open a lightbox, it only jumps to the head of the page and no lightbox is opened. For the comparison, I added a shortcode in the HTML of the page itself (loaded on page load, not by AJAX), and it works perfectly.
    In both cases I used the same shortcode:
    [fvplayer src="video.mp4" lightbox="true;text" caption="Watch Video" splash="tree.jpg"]
    I looked at the markup and saw a difference between the tags:
    tag created from shortcode on page load:

    test

    tag created by shortcode in HTML code returned by AJAX:
    Watch Video

    As you can see, the class attribute is missing in second tag. I assume that this is what prevents the lightbox opening. The question is, What can I do in this case?

    8 years ago in reply to: How to open a lightbox video player from an AJAX response
    Harold

    I’m sorry, The table example wasn’t so good. Here is another one:
    “<table class=”no-borders”>
    <tr class=”header-back-color”>
    <th class=”title-column-width”>Title</th>
    <th class=”teacher-column-width”>Teacher</th>
    <th class=”date-column-width”>Date</th>
    <th class=”duration-column-width”>Duration</th>
    <th class=”options-column-width”></th>
    </tr><tr>
    <td>Some title</td>
    <td>Some teacher</td>
    <td>Sep 4 2017</td>
    <td>01:02:23</td>
    <td>
    <select class=”ddl-options” data-post-id=”882″>
    <option value=”” style=”display:none;” selected>Options</option>
    <option value=”https://www.MySite.com/wp-content/uploads/2017/06/movie.flv&#8221; class=”watch-video”>Watch Video</option>
    <option value=”https://www.MySite.com/wp-content/uploads/2017/06/movie.flv”>Download Video</option>
    <option value=”https://www.MySite.com/wp-content/uploads/2017/06/testAudio.mp3″>Download Audio</option>
    <option value=”https://www.MySite.com/wp-content/uploads/2017/06/summary.pdf”>Download Summary</option>
    <option value=”https://www.MySite.com/wp-content/uploads/2017/06/sourcesheet.pdf”>Download Source Sheet</option>
    </select>

    </td>
    </tr></table><br/>”

Viewing 12 replies - 1 through 12 (of 12 total)

Primary Sidebar

Sign in Register
FV Player Docs Post New Topic

Welcome

to Foliovision support forums! We'll be happy to provide free support to resolve all the reported bugs. You always can start by specifying your OS and browser and steps to reproduce the bug.

If you need help with the installation on your site, please submit a request for a Pro Support Incident. We'll have you up and running in no time, with detailed instructions on how to resolve your issue yourself in the future.

Facing a hard to solve WordPress problem? On a tight deadline?

Let us take care of it for you
right now.

Pro Support Buy FV Player

Footer

Our Plugins

  • FV WordPress Flowplayer
  • FV Thoughtful Comments
  • FV Simpler SEO
  • FV Antispam
  • FV Gravatar Cache
  • FV Testimonials

Free Tools

  • Pandoc Online
  • Article spinner
  • WordPress Password Finder
  • Delete LinkedIn Account
  • Responsive Design Calculator
Foliovision logo
All materials © 2025 Foliovision s.r.o. | Panská 12 - 81101 Bratislava - Slovakia | info@foliovision.com
  • This Site Uses Cookies
  • Privacy Policy
  • Terms of Service
  • Site Map
  • Contact
  • Tel. ‭+421 2/5292 0086‬

We are using cookies to give you the best experience on our website.

You can find out more about which cookies we are using or switch them off in .

Powered by  GDPR Cookie Compliance
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

Necessary Cookies

Strictly Necessary Cookie allow you to log in and download your software or post to forums.

We use the WordPress login cookie and the session cookie.

If you disable this cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.

Support Cookies

Foliovision.com uses self-hosted Rocket.chat and self-hosted Freescout support desk to provide support for FV Player users. These cookies allow our visitors to chat with us and/or submit support tickets.

We are delighted to recommend self-hosted Rocket.chat and especially Freescout to other privacy-conscious independent publishers who would prefer to self-host support.

Please enable Strictly Necessary Cookies first so that we can save your preferences!

3rd Party Cookies

This website uses Google Analytics and Statcounter to collect anonymous information such as the number of visitors to the site, and the most popular pages.

Keeping this cookie enabled helps us to improve our website.

We reluctantly use Google Analytics as it helps us to test FV Player against popular Google Analytics features. Feel free to turn off these cookies if they make you feel uncomfortable.

Statcounter is an independent Irish stats service which we have been using since the beginning of recorded time, sixteen years ago.

Please enable Strictly Necessary Cookies first so that we can save your preferences!