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

Foliovision

  • 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
Home

Harold

  • Profile
  • Topics Started
  • Replies Created

Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)
  • 8 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

  1. Bios
  2. My Video Bookmarks
  3. My Video Playlists
  4. Privacy Policy
  5. TEST
  6. Test Bunny CDN vs. DigitalOcean Spaces CDN
  7. Video Speed Tests
  8. FV Flowplayer Expiration
  9. About
  10. Checkout
  11. Foliovision Tools
  12. FV Player
  13. Job offers
  14. Store
  15. WordPress
  16. Cookies
  17. Donate
  18. Enter your VAT Information
  19. FV Pro Support
    We’ll solve your WP Video problems right now
  20. FV Publisher
  21. Hosting signup
  22. How to pay your invoice in the new billing system
  23. Humanmetrics Jung Typology Test Result
  24. Best Practices for Sharing Sensitive Information
  25. Billings Page
  26. Client Section
  27. Foliovision Hosting Signup
  28. Renew or upgrade your plugin
  29. Site Map
  30. FV Flowplayer 5 Download Test Page
  31. Referrals
  32. My Profile
  33. Flowplayer
  34. My Licenses
  35. Portfolios
  36. Additional Information
  37. Theme Comparison
  38. Video Services Request
  39. Thanks for your message
  40. Thanks for Applying!
  41. Thoughtful Comments
  42. Teamwork to Basecamp 3 Migration Wizard
  43. Typepad to WordPress deposit payment
  44. Weblog
  45. WordPress 3.3 Upgrade Order Form
  46. WordPress Programmer’s Homework

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 © 2026 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‬