josephweaver
Forum Replies Created
-
Yes, it appears jQuery is being loaded a second time in the footer by one of my plugins:
<script type='text/javascript' src='https://www.bombhq.com/2017/wp-includes/js/jquery/jquery.js?ver=1.12.4'></script> <script type='text/javascript' src='https://www.bombhq.com/2017/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1'></script>
But it is also being loaded in the header (I use a local copy, it’s jq.js):
<script src='https://www.bombhq.com/2017/wp-content/themes/bandofmaniacalbrothers/jq.js'></script> <script src='https://www.bombhq.com/2017/wp-content/themes/bandofmaniacalbrothers/js.js'></script>
The footer is loading jQuery v1.12.4, in the header I am loading v3.1.1…
I doubt that’s the problem, but please let me know if there’s anything else I can do to get these videos working right ??
- This reply was modified 7 years, 9 months ago by josephweaver.
Hi Spencer,
I’ve changed the jQuery to be loaded in the header instead of the footer (however, this is bad practice, as I understand; scripts really should be loaded last, after the content is loaded, to prevent undesirable behaviors such as flashes of unstyled content, etc.) and we’ve got a little improvement, the videos are now playable!
However, they are still giving me the wrong behavior, as can be seen here:
https://www.bombhq.com/2017/bomb-friends/The videos now play when I click anywhere on the
.fts-jal-fb-vid-picture .feed_dynamic_video_classOOorsTeGBm_group
div
, which includes both the image thumbnail, and the blank video area with the controls bar at the bottom.However, the play button is nowhere to be seen, and the image thumbnail stays there while the video plays. Also, it appears to have a
cursor:default
style instead ofcursor:pointer
when I mouse over the clickable area described above.Any insight you can offer would be great! ??
Also, why does this only work if the jQuery is loaded in the header? As I mentioned above, this is generally not the accepted practice. Read more here: https://stackoverflow.com/questions/2105327/should-jquery-code-go-in-header-or-footerIt appears FTS might be one of the listed “Edge Cases” in the accepted answer, however, I’d prefer to keep to good practices even while using FTS…
Hi Justin!
Here’s the example link: https://www.bombhq.com/2017/bomb-friends
I’m using Chrome 55 on Windows 10.
Thanks so much!
I have version 2.1.5 now… and this is still not fixed. Here’s a screenshot:
No problem!
Another thing, also for FB posts, if you could group
fts-jal-fb-message
into the.fts-jal-fb-vid-wrap
,.fts-jal-fb-link-wrap
, or whatever the main container for the post content is, *instead* of grouping it in with.fts-jal-fb-top-wrap
, I think that would make much more sense overall, from an architecture standpoint.As it is, I’m having to style things awkwardly to affect both pieces (first, the message text container
.fts-jal-fb-top-wrap > .fts-jal-fb-message
, and then also, the main linked content container.fts-jal-fb-vid-wrap
/.fts-jal-fb-link-wrap
/etc.) separately.What do you think of that?
- This reply was modified 7 years, 10 months ago by josephweaver.
- This reply was modified 7 years, 10 months ago by josephweaver.
Cool, it says version 2.1.3 came out 5 days ago, so I guess you didn’t get to it today. No worries ?? When it does come through and I am able to test it on my end, I’ll let you know how it works! ??
Oh awesome! I just got done porting it to a live server vice localhost, for further testing, and finding out it had the same problem, just to come back and see that you guys are already aware of the fact that it’s still broken online, and you’re already top of it. Well done. You’ll be getting a 5-star review.
I had hoped to finish this feature as a gift to the people who would be using the site, before Christmas, do you think that’ll be possible? ??
By the way, I realized I forgot to include some info.
First, I made a mistake; I put WP 4.6.1 initially, but I forgot– I updated to 4.7. Sorry! Maybe that matters, maybe not, but I wanted you to have the correct info in any case.
Next, my shortcode is here (seems to be pulling fine, except for the problem above):
[fts_facebook type=group id=516137178551643 posts=10 description=yes]
And finally, here’s the “System Info”:
### Begin System Info ### SITE_URL: https://localhost/bombhq/2017 Feed Them Social Version: 2.1.0 -- WordPress Configuration: WordPress Version: 4.7 Multisite: No Permalink Structure: /%year%/%monthnum%/%day%/%postname%/ Active Theme: Band of Maniacal Brothers 1.0 PHP Memory Limit: 256M WP_DEBUG: Disabled -- Webserver Configuration: PHP Version: 5.6.19 Web Server Info: Apache/2.4.18 (Win64) PHP/5.6.19 -- PHP Configuration: Safe Mode: No Upload Max Size: 2M Post Max Size: 8M Upload Max Filesize: 2M Time Limit: 120 Max Input Vars: 2500 Allow URL File Open: On (1) Display Erros: On (1) -- PHP Extensions: FSOCKOPEN: Your server supports fsockopen. cURL: Your server supports cURL. -- Active Plugins: Facebook Login: 1.1.6 Feed Them Social (Facebook, Instagram, Twitter, etc): 2.1.0 WP-Paginate: 1.3.1 -- Custom Token or Keys added to Options Pages -- You must have a custom token to use the feeds Facebook App Token: Yes FB App ID for Like Button: Yes Twitter Consumer Key: No Twitter Secret: No Twitter Token: No Twitter Token Secret: No Instagram: No YouTube: No -- Offset Post Limit: Offset Facebook Post Limit: None Hide Notice on Front End: Yes -- FaceBook & Twitter Date Format and Timezone Date Format: l, F jS, Y \a\t g:ia Timezone: Kwajalein -- Fix Twitter Time: Fix: No -- Disable Magnific CSS: Fix: No -- Fix Internal Server Error: ### End System Info ###