Foliovision › Forums › FV Player › How to … › Pro + Installation package
-
Hello,
A little while back I e-mailed you for a presale question. It was about if it was possible to integrate the FV Player Pro with my theme so that when a post has the post type “video”, the FV Player would be used instead of the default player. You responded within a few hours telling me it was no problem.
So I purchased the FV Player Pro + Installation package for $150,- on March 22. I’ve immediately sent a e-mail to ask for the installation support in our theme. However, I haven’t received any response. I never received any e-mail regarding my purchase. So I’m trying it this way as I see that your response on this forum is generally just a few hours.Can you please respond to my e-mail or give me instructions how to receive your installation support?
-
-
Hello Robin,
we are deeply sorry about this inconvenience. I am unsure why have our replies not reached you.
We have received your purchase email on March 22 and our developer sent two replies to the purchase email within the next 3 hours. The email address associated with the email thread is the same as registered with this forum profile.
I will notify our developer about this inconvenience and ask him to try to get in contact with you.
Making the web work for you,
MariaHello Robin,
our mailing logs show that the email did reach your mailserver without issues. It would be great, if you could check your spam folder to see if the email is there. The sending email address was support@foliovision.com, so please let us know.
I see that your mailbox is running on sp…el.n… – perhaps it’s related to SpamExperts, in that case the mail might be in the quarantine.
Going back to the actual issue you are having – please create a WordPress admin login for support@foliovision.com and I will have a look if the theme provides any WordPress action hook which we could use.
If it’s really non-standard we would have to ask you to buy another Pro support ticket as our Make Your Theme work with Video service is more expensive.
Thanks,
MartinHello Robin,
this is what I sent 3 days ago:
unfortunately your website doesn’t seem to work. When I open https://www.g….l/ I only get “UW WEBSITE IS OFFLINE”.
When I open https://www.g….l/wp-admin I get 404 error:
“Not Found
The requested URL was not found on this server.”
Please let us know when it’s back up. I hope it’s nothing serious, sometimes the web hosting control panels are a nuisance to work with.
Now the website is back up and I was able to log in, so I will have a look first thing tomorrow morning.
I’m sorry about the email issues, last time you said our email was on blacklist, did it get back on the blacklist again?
Thanks,
MartinHello Robin,
I’m sending a copy of my reply also here, in case you still do not get our emails:
I had a look at the “🎥 Van Pannenkoeken ….” post here: /wp-admin/post.php?post=245261&action=edit
I see the video is in the “Video Format Options” box and you are using a YouTube URL there. I found it’s being outputted in post-top-content.php template file of your theme: /wp-admin/theme-editor.php?file=post-top-content.php&theme=Extra
There is a line:
$video_embed = extra_get_video_embed( $video_urls );
Which could be replaced with:
$video_embed = do_shortcode( '[fvplayer src="'.$video_urls.'"]' );
And it should already work. Perhaps you know PHP and this is all you needed.
But there are a couple of downsides:
First problem is that this way you wouldn’t get all the FV Player features. For example if you would like to insert a video playlist or subtitles, it wouldn’t be possible. Video protection against downloads would also be much weaker.
Second – do you sometimes put in multiple video link into that “Video Format Options” box? These could be presented as a playlist actually, but the code would have to be improved.
If you want to use all the FV Player functions I would recommend you instead use our Custom Video Fields: https://foliovision.com/player/advanced/video-custom-fields
And in all cases your code theme files would be modified – we would have to setup a child theme first to make sure you can update the theme in the future without looking your changes.
Please let us know if the above is making sense to you and which way you would like to go. Based on that we will have to ask you for another Pro support ticket purchase, as advanced theme customization like this is not considered an install anymore. Unfortunately your theme doesn’t provide the WordPress action or filter hook to let us support their Video format posts directly.
We are also happy to guide you in the right direction if you can take care of these tweaks on your own.
Thanks,
MartinHello Martin,
As I’m still not sure if our email communication comes through correctly I also want to check through here.
I’ve responded to your e-mail on march 30th. I haven’t heard from you since which of course isn’t an issue, but just in case you have responded and I didn’t receive your email I decided to post this message.– Robin Dol
Hello Martin,
Thanks for your response! I did get the e-mail this time.
I did what you said and created a child theme and changed the code. However. The video won’t play.
Other video embeds that are used in the post do use the new player, but the main video doesn’t work.For example:
There are 2 videos in this post. One is the main video configured in the post type and the other is just an embedded video in the post through the default WordPress classic editor.
The main video won’t play but the extra video does.
Post link: (redacted)We want to use your player to display ads before the main video of video posts. As long as that function still works, it’s all fine.
Could you please help me with getting it to work as the main video player? I think I can take it myself from there.
Thanks in advance.
– Robin Dol
Hello Robin,
I found you replied to the forum notification, so I re-posted it here now.
I had a look at your post and I could see the issue. Please adjust the PHP code in post-top-content.php further – there is that whole section which creates DIV element with class “video-overlay” which needs to be removed as it covers the player. Instead you should be using that featured image as the splash=”…” argument for FV Player.
You should be also entering some good default size (try just 1280×720 to give the videos a proper aspect ratio) in Settings -> FV Player Pro -> Sitewide FV Player Defaults -> Default Video Size. Otherwise the player won’t appear properly when loading and the webpage content with move as it loads.
I also noticed your child theme stylesheet loads from a bad place – https://{your-site.com}/ghlayout-child/style.css This needs to be fixed as all these 404 servers might even slow down your server.
The global ads defined in Settings -> FV Player Pro -> Ads -> Video Ads will work, but you won’t be able to target individual posts. You will be able to pick any single ad for all players, or insert multiple ads and have FV Player Pro pick random ad for each player.
Thanks,
MartinHello Martin,
Thanks for your help! I think I got it to work!
I’ll test everything and If I run into anymore problems I’ll let you know.I have one small question left which I hope you’d want to help me with. Is it possible to change the “Skip” text? I want to translate it to dutch to something like “Overslaan” or “Advertentie overslaan”.
Hello Robin,
the video doesn’t show on mobile because there is this line of CSS:
article .header .video-format iframe { display: none; }
It’s in the //cdn.foliovision.com/ghlayout/style.css file. Please put in a rule like this to override it:
article .header .video-format iframe.fp-engine { display: block; }
The Skip translation can be adjusted using a PHP code like this: https://foliovision.com/player/advanced/api-programming#customizing-translations
Or you can create your own translation. Please let us know what other phrase you would like to also translate and we could add the Dutch translation for FV Player or FV Player Pro with at least these translations to get started.
Thanks,
Martin