• 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

Splash forms invalid URL when protocol relative URL is provided

[Solved]

Foliovision › Forums › FV Player VAST › Bug Reports › Splash forms invalid URL when protocol relative URL is provided

  • marcshollander 8 years, 1 month ago

    Expected: The splash parameter should be able to address the image’s URL as effectively as the src parameter does.

    Observed: The splash parameter does not address the image’s URL as effectively as the src parameter does. It forms an incorrect URL; e.g.,
    * This: splash=”//www.camins.facilitechit.com/wp-content/uploads/2018/01/brian-cameron-220×308.jpg”
    * Is transformed to: http://www.camins.facilitechit.com/www.camins.facilitechit.com/wp-content/uploads/2018/01/brian-cameron-220×308.jpg

    Use Case: To have FV player operate without warnings in https (and http) without mixed protocol content by utilizing relative protocol relative URLs.

    This form of the shortcode, where the splash URL contains the protocol, works properly:
    [fvplayer src="//www.camins.facilitechit.com/wp-content/uploads/2018/01/cameronwalkon.mp4" splash="http://www.camins.facilitechit.com/wp-content/uploads/2018/01/brian-cameron-220x308.jpg" splashend=show width="258" height="368" autoplay=true ab="false" controlbar="no" redirect="//www.camins.facilitechit.com/home-test/#ert_pane1-1"]

    This form of the shortcode generates an invalid URL:
    [fvplayer src="//www.camins.facilitechit.com/wp-content/uploads/2018/01/cameronwalkon.mp4" splash="//www.camins.facilitechit.com/wp-content/uploads/2018/01/brian-cameron-220x308.jpg" splashend=show width="258" height="368" autoplay=true ab="false" controlbar="no" redirect="//www.camins.facilitechit.com/home-test/#ert_pane1-1"]

    Console Output Of Error (Poster doesn’t render – of course):
    GET http://www.camins.facilitechit.com/www.camins.facilitechit.com/wp-content/uploads/2018/01/brian-cameron-220×308.jpg 404 (Not Found)

    Note the the src parameter works perfectly with the protocol relative URL.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Martin 8 years ago

    Hello Marc,

    thank you for the bug report!

    In our experience it’s easier to always prefer the https:// links. However we did put in a fix and it will be part of the next FV Player version.

    In the meantime you can get the new version here if you are in a hurry: https://github.com/foliovision/fv-wordpress-flowplayer/archive/master.zip To reinstall FV Player from that you will have to first deactivate and delete the current FV Player plugin you are using. WordPress will warn you that you might loose settings and data, but it’s not the case with out plugin, no settings now videos will be lost.

    Thanks,
    Martin

    marcshollander 8 years ago

    Hi Martin,

    Thank you.

    This defect was fortunately not a show stopper, just an inconvenience when a site converts to https in the processes of launching or migrating code between dev, qa, staging and production environments where the environments have different protocols; easily worked around with editing.

    Thanks again for addressing it.

    Regards,
    Marc S. Hollander

Viewing 2 replies - 1 through 2 (of 2 total)
Reply To: Splash forms invalid URL when protocol relative URL is provided



Please Sign in or Register to upload files.

Related Posts

  1. How to create multiple page secure forms inside WordPress (or other PHP CMS)

    How to create multiple page secure forms inside WordPress (or other PHP CMS)

  2. Creating custom video splash screens: Best practices

  3. Adding Item Titles and Splash Text

Primary Sidebar

Bug Reports

    Categories

    • Business
    • Camera Reviews
    • Case Studies
    • Design
    • FV Player
    • Internet Marketing
    • IT
    • Life
    • SEO
    • Slovak
    • Video of the Week
    • WordPress

    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‬