what to tell my host to get the plugin running
-
hi,
the following is quite long, but i tried to get in details to make it easier for you to understand what’s going wrong.
The following test/observations were done with this setup:
WordPress Version 3.9.1
Video Thumbnails Version 2.7.8
Video Thumbnails Settings Version 2.7.8
PHP Version 5.3.28
Post Thumbnails: Your theme supports post thumbnails.
Newspaper theme (https://themeforest.net/item/newspaper/5489609?WT.ac=search_item&WT.seg_1=search_item&WT.z_author=tagDiv)when debugging the test stops after Facebook – iFrame Embed and returns a fatal error message: Using $this when not in object context in /home/.sites/423/site886/web/beta/wp-content/plugins/video-thumbnails/php/providers/class-vine-thumbnails.php on line 46
Than i ran the “Test Markup for Video” with the following embed codes:
Dailymotion:
<iframe frameborder=”0″ width=”480″ height=”270″ src=”//www.dailymotion.com/embed/video/x1nkg41″ allowfullscreen></iframe>
this resulted in – Fatal error: Using $this when not in object context in /home/.sites/423/site886/web/beta/wp-content/plugins/video-thumbnails/php/providers/class-dailymotion-thumbnails.php on line 48
Rutube:
<iframe width=”720″ height=”405″ src=”//rutube.ru/video/embed/6925771″ frameborder=”0″ webkitAllowFullScreen mozallowfullscreen allowfullscreen></iframe>
Result: No thumbnail found
I also tried rutube with http: but the result was the same
Facebook:
<iframe src=”https://www.facebook.com/video/embed?video_id=387579394713808″ width=”468″ height=”310″ frameborder=”0″></iframe>
Result: Thumbnail found, but there was an error retrieving the URL.
Error Details: Failed to connect to 2a02:26f0:20::214:b6e6: Network is unreachable
Facebook:
<div id=”fb-root”></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = “//connect.facebook.net/en_US/all.js#xfbml=1”; fjs.parentNode.insertBefore(js, fjs); }(document, ‘script’, ‘facebook-jssdk’));</script>
<div class=”fb-post” data-href=”https://www.facebook.com/photo.php?v=387579394713808″ data-width=”466″><div class=”fb-xfbml-parse-ignore”>Post by Replay.</div></div>Result: No thumbnail found
vk.com
<iframe src=”https://vk.com/video_ext.php?oid=220943440&id=168591360&hash=75a37bd3930f4fab&hd=1″ width=”607″ height=”360″ frameborder=”0″></iframe>
No thumbnail found
youtube:
<iframe width=”468″ height=”262″ src=”https://www.youtube.com/embed/3KewHnnd07U” frameborder=”0″ allowfullscreen></iframe>
test is fine, but if i put the same code in a post and publish it, no thumb shows up (No video thumbnail for this post.)
if i take the url https://www.youtube.com/embed/ysfm_adxRrI and post it into the custom field “video_thumbnail” , hit “search again” once more the thumbnail shows up.
if i run the same test on localhost with the following settings:
WordPress Version 3.9.1
Video Thumbnails Version 2.7.8
Video Thumbnails Settings Version 2.7.8
PHP Version 5.4.27
Post Thumbnails: Your theme supports post thumbnails
newspaper theme (https://themeforest.net/item/newspaper/5489609?WT.ac=search_item&WT.seg_1=search_item&WT.z_author=tagDiv)everything except vk.com and rutube works
pasting the same vk.com code from above into the “Test Saving to Media Library” returns a thumbnail (so i dont know why it says above it failed)
rutube with the code from above still does not work
pasting the rutube code in a post, publish it and than hit search again for the video thumbnail returns an error: Fatal error: Using $this when not in object context in C:\xampp\htdocs\wordpress\wp-content\plugins\video-thumbnails\php\providers\class-rutube-thumbnails.php on line 47
so i guess there is something wrong with my host (as the theme seems to work fine). but as a “non-programmer” i have no idea what might be wrong.
I really need this to work, can you please, please help me and tell me what i have to ask my webhost to change. thanks in advance
- The topic ‘what to tell my host to get the plugin running’ is closed to new replies.