• 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

How to setup iframe usage

[Solved]

Foliovision › Forums › FV Player › How to … › How to setup iframe usage

  • Sve 8 years, 5 months ago

    Hello,

    I am having a problem with making iframes work correctly.

    When iframe embeding is turned on it generates the path to the src in the iframe pointing to the path of the original post + /fvp . Example:
    post path: http://www.domainname.com/2016/02/nameofpost
    iframe src path: http://www.domainname.com/2016/02/nameofpost/fvp

    This generates an error page in the iframe every time, as the page it is pointing to does not exists and also in the iframe I am seeing the whole page not just the video segment which I want to display.

    Please advice how to setup this correctly, the instructions I found here and there are quite few and not clear enough.

    Thank you in advance.

Viewing 14 replies - 1 through 14 (of 14 total)
  • Eduard 8 years ago
    Avatar photo

    Hi Sve,

    Could you create a test post and send us a link so we can take a look on this issue?

    Thanks,
    Eduard

    Sve 8 years ago

    Hello,
    Yes sure, here is a sandbox domain I am doing most of my testing:
    http://www.4u2rate.com/

    There are 2 posts :
    Example Video – just test video made using only the below code:
    [fvplayer src="http://www.4u2rate.com/wp-content/uploads/2016/12/The_Hanging_Tree_Hunger_Games_Peter_Hollens-1.mp4" width="1280" height="720" align="left" controlbar="yes" embed="true"]

    iframe Embed – this is a post done using the iframe embed code from the 1st post:
    <iframe src=”http://www.4u2rate.com/?p=59/fvp/&#8221; allowfullscreen style=”width:1280px;height:722px;border:none;max-width:100%”></iframe>

    you can see how the iframe actually shows the 1st post page inside the send one :) Maybe I am doing something wrong here or is this some sort of a bug ?
    Thank you in advance for your time and help on the matter.

    BR
    Sve

    Sve 8 years ago

    The idea is when I have a video I want to have some redirects, ads etc. and when someone embed the video on another site to have my ads and pop up, redirect be active as well on the other site. Is this even possible or the ifram will simply show only the video and nothing else?

    Martin 8 years ago

    Hello Sve,

    the iframe embedding works like you described, with all the settings being applied to the video.

    I see that it won’t open at all: http://www.4u2rate.com/2016/12/18/59/fvp/

    Could you please try to visit wp-admin -> Settings -> Permalinks? Doing that will refresh the rewrite rules and perhaps it will start working.

    If not, please try to disable all the other plugins and then visit Settings -> Permalinks again. Will that help?

    If you need this issue resolved by our team quickly, we will be happy to get it fixed right on your site if your order our Pro support: http://foliovision.com/pro-support

    Thanks,
    Martin

    Sve 8 years ago

    Hello,

    Indeed the permalinks were the issue, but I am managing to get it to work properly only when the format of the permalinks is plain : http://www.4u2rate.com/?p=123

    In that case the embed link path goes to : http://www.4u2rate.com/?p=76&fv_player_embed=1
    and it works in this case.

    However, switching to another set of permalinks gives me the original issue again. The only problem with using plain permalinks is that it is not SEO friendly, so any other suggestions i could try ?

    Thank you in advance.

    Martin 8 years ago

    Hello Sve,

    so just visiting wp-admin -> Settings -> Permalinks doesn’t fix the issue, is that right?

    Have you tried to disable the other plugins?

    Are you using any plugin for object caching (typically W3 Total Cache) or does your host support it (APC/memcache)?

    Are you able to check the rewrite_rules in wp_options table and see if there is any occurence of the “fvp” string in it? Are you doing something to remove rewrite rules for “/trackback/” from there?

    If you know PHP, you can debug this in flowplayer::rewrite_embed() in models/flowplayer.php.

    Thanks,
    Martin

    Sve 8 years ago

    Hi Martin,

    Yes just visiting and refreshing the permalinks is not working. It only works when the permalinks are in plain mode and that is it.

    Testing is done with all plugins disabled and there is no cashing enabled, also this was tested on 2 different hosting providers.

    There is nothing else special done on this domain setup, I can do another fresh install and test again. Are you able to have the player working with other permalinks setup other than plain on your side?

    On my side every other permalink setup just adds a “fvp” at the end of the link and generates a none existing page, only in plain mode I see it is generating properly : &fv_player_embed=1 at the end of the link.

    In options table looking for mentioning of fvp I can see only this :
    1948 widget_widget_fvplayer a:1:{s:12:”_multiwidget”;i:1;} yes

    Not sure I have enough knowledge to debug this by myself, but I can try.

    I see in the plugin description page you have this text:
    “If you want to embed videos denoted just by their filename, you can create the /videos/ directory located directly in the root of your domain and place your videos there(you use complete URL of video files).”

    I am uploading the video files via the media library directly from the post, could that be the issue ?

    In addition I have tried disabling the iframe functionality and there I can see that things work normally regardless of the permalink structure, just it does not give me what I need to be able to use the adds and redirect with the embed option, which is possible only with iframe.

    Thank you.

    Martin 8 years ago

    Hello Sve,

    I realized that this might be a problem with WordPress 4.7 and indeed, it’s not working for me on that version. We keep our sites updated to the latest minor release, we are not using 4.7 for all of our sites yet: https://foliovision.com/2016/12/wordpress-improvements

    It appears it also stopped working on our sites which use WordPress 4.3 (it’s latest minor version 4.3.6).

    This update will released later today in FV Player 6.0.5.14. Thank you for the bug report!

    Thanks,
    Martin

    Sve 8 years ago

    Hi Martin,

    Thank you for the good news :) I was going crazy with troubleshooting and testing, thinking its something I am doing wrong :) now I can sleep at night and wait for the new version :)

    I am happy I was able to help.

    Thank you and great work with this plugin indeed one of the best ones ;)

    Happy Holidays!

    Sve 8 years ago

    Hi Martin and Happy Holidays :)

    Just wanted to get back to you after the updates.

    Great work, Indeed in 6.0.5.14 the issue was fixed and things were working as expected, but in 6.0.5.15 I noticed that when using iframe, there is always a blank row below the video, forcing the scroll bar on the right side to appear. At first I thought it was something related ti size of video, scaling etc. , but nothings so far has affected the result and I do not recall this blank row/side scroll bar being present in the testing I did with 6.0.5.14 , I am only assuming there is some blank row somewhere in the code doing this, but can not find it. I might be wrong and this could be coming from something totally different, but so far this is the only things I could think of.

    Example here: http://www.4u2rate.com/2017/01/2-iframe/

    Could you please check and let me know if this is something present on your environments as well ? I have tested this on several domains and different hosting environments, all plugins disabled, fresh installations of WP – end result was the same in all cases.

    Thank you in advance for your time and help on the matter.

    Martin 8 years ago

    Hello Sve,

    not sure where this issue is coming from exactly. I was able to trace if down to a change introduced in 6.0.5.13 actually.

    So I fixed the code I believe. Could you please reinstall FV Player from https://github.com/foliovision/fv-wordpress-flowplayer/archive/master.zip and let us know if it helped?

    Thanks,
    Martin

    Sve 8 years ago

    Hi Martin,

    Yes the version from github fixed the extra empty row and no longer forces the scrollbar on the right side to appear :) You can see here:
    http://www.4u2rate.com/2017/01/2-iframe/

    However the sharing icons are not visible now, they are still active if you click on them, but not visible. Not sure, if this is due to the unofficial release I am testing, as on 6.0.5.13, 6.0.5.14, 6.0.5.15 they were visible, meaning this is present only on this test version.

    Thank you.

    Martin 8 years ago

    Hello Sve,

    I’m not sure what’s wrong, but it says the fils are missing, like this one:

    http://www.4u2rate.com/wp-content/plugins/fv-wordpress-flowplayer/css/img/play_white.png
    http://www.4u2rate.com/wp-content/plugins/fv-wordpress-flowplayer/css/fonts/fpicons.woff?ver=yg5dv7
    http://www.4u2rate.com/wp-content/plugins/fv-wordpress-flowplayer/css/fonts/fpicons.ttf?ver=yg5dv7

    Could you please reinstall the plugin?

    Thanks,
    Martin

    Sve 8 years ago

    Hi Martin,

    Sorry for late reply, somehow I missed your message in my inbox :)

    Not sure what happened as well [probably faulty install], either way I saw you posted a new version 6.0.5.16. I installed that one and I confirm everything seems to be posting perfectly :) No extra row and icons are visible:
    http://www.4u2rate.com/2017/01/2-iframe/

    Thank you for the support, currently I believe things are perfect :)

    BR
    Sve

Viewing 14 replies - 1 through 14 (of 14 total)
Reply To: How to setup iframe usage



Please Sign in or Register to upload files.

Related Posts

  1. Improved Iframe Tag

    Improved Iframe Embedding

  2. Iframe Embedding

    Iframe Embedding

  3. Fullscreen in iframe

    Fullscreen in iframe

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!