Home » Forum » Feedback and Suggestions »
[closed] Embedding the new player doesn't seem to work (yet)

[closed] Embedding the new player doesn't seem to work (yet)

wjl posted on Apr 29, 2019 #1
wjl
SUPPORTER
Posts: 892
Joined: Feb 14, 2018
Hi friends,

I just tried to embed gwailoah's latest #162552 into a blog post https://wolfgang.lonien.de/2019/04/blues-know-no-colour/ - but no way to get the player to show some content on my Wordpress page there.

Older stuff like for instance https://wolfgang.lonien.de/2019/04/above-the-clouds/ show up just fine, so it must be the embedding part I guess.

Can anyone confirm this already?

P.S.: v11 is astonishingly good and bug free; love it! :)

Thanks, and cheers,
Wolfgang

Edit, before I have to start regular work here:

old one, works:

<figure class="wp-block-embed is-type-rich is-provider-wikiloops"><div class="wp-block-embed__wrapper">
https://www.wikiloops.com/backingtrack-jam-161354.php
</div></figure>

new one, doesn't work:

<figure class="wp-block-embed is-type-rich is-provider-wikiloops"><div class="wp-block-embed__wrapper">
https://www.wikiloops.com/backingtrack-jam-162552.php
</div></figure>

new one from the song's (embed) option, doesn't work:

<iframe width='300' height='175' scrolling='no' style='width:100%' src='https://www.wikiloops.com/embed/162552' frameborder='0'></iframe> <div style='margin-left:.5em;font-size:.8em;font-family:Verdana, Arial, Helvetica, sans-serif'>This track is embedded with the friendly permission by the creatives on <a href='https://www.wikiloops.com' target='_blank'>wikiloops.com</a>.</div>

old song's (embed) option, works:

<iframe scrolling="no" style="width:100%" src="https://www.wikiloops.com/embed/159026" width="300" height="175" frameborder="0"></iframe> <div style="margin-left:.5em;font-size:.8em;font-family:Verdana, Arial, Helvetica, sans-serif">This track is embedded with the friendly permission by the creatives on <a href="https://www.wikiloops.com" target="_blank" rel="noopener noreferrer">wikiloops.com</a>.</div>

my page seems to get this from https://wloops.r.worldssl.net/162552.html (doesn't work, but https://wloops.r.worldssl.net/161354.html would display the player's content)

tested with Firefox ESR 60.6.1 (64bit) and with Chromium on Linux

2nd edit:

made some screenshots of the last two URLs as examined in my browser. 1st one works, 2nd one doesn't:

[img]https://live.staticflickr.com/65535/32786674977_af2464f946_o_d.png[/img]

[img]https://live.staticflickr.com/65535/46813528675_dd9637f7e2_o_d.png[/img]

Thanks again,
and cheers,
Wolfgang
+1
Dick posted on May 1, 2019 #2
Dick
SUPPORTER
Posts: 2940
Joined: Dec 30, 2010
this will take a minute longer, I'll get it fixed soonish.
Daddario EXL170
Daddario EXL170
Electric Bass String Set
22,90 €
iThis widget links to Thomann, our affiliate partner. We may receive a commission when you purchase a product there. Visit Shop
wjl posted on May 30, 2019 #3
wjl
SUPPORTER
Posts: 892
Joined: Feb 14, 2018
Hmmm, I looked and compared the oembed code of my first remix and the latest remix on one of mine, and I begin to understand...

[img]https://live.staticflickr.com/65535/47964684048_50931e6da5_o_d.png[/img]

Not only is the code of the v10 and v11 players quite different, but it's also the fact that the resulting pages are uploaded and stored on AWS already, so we need a fix *and* some re-uploading I guess...

But I still wonder why it all works on the wikiloops domain - is it just the case of some missing json or other modules elsewhere? I'd need the bigger picture and the structure to really understand it I guess :)
+1
Dick posted on May 31, 2019 #4
Dick
SUPPORTER
Posts: 2940
Joined: Dec 30, 2010
fixed it is.
The embeded players still make use of the version 9+10 player, and that got messed up a little when we emergency-switched servers.
I just wiped & re-rendered all embeds that were created since, and pushed them to the AWS cloud again, the one on your blog does work now.
+1
Dick posted on May 31, 2019 #5
Dick
SUPPORTER
Posts: 2940
Joined: Dec 30, 2010
wjl wrote:
But I still wonder why it all works on the wikiloops domain - is it just the case of some missing json or other modules elsewhere? I'd need the bigger picture and the structure to really understand it I guess :)


The embeds on wikiloops are not the same as the ones offered for outside embedding - the wikiloops ones rely on the current wikiloops versions player,
whilst the external embeds need to come shipped with anything needed to display a player off of our premises, so theey are shipped with a different JS setup (no need to serve a block of wikiloops functions code to other sites).
The whole AWS idea is intended to make sure embeds stay online and working even if the wikiloops mama server goes down - and at the same time this safeguards the mother server, in case your blog gets visited by 100.000 korean fiddle players smoe night, wikiloops won't suffer either. Better think of all situations before offering externally used code snippets, right? ;)

So yes, such buffered html snippets on external servers are a bit hard to manage, but you guessed quite right. Luckyly, I seem to have had some love for cleanly code the nights I coded the embed function, so that was rather easy to debug in the end (there are still areas of code which I really only want to look into with some stress relief at hand).
+2
wjl posted on May 31, 2019 #6
wjl
SUPPORTER
Posts: 892
Joined: Feb 14, 2018
Dick wrote:
wjl wrote:
But I still wonder why it all works on the wikiloops domain - is it just the case of some missing json or other modules elsewhere? I'd need the bigger picture and the structure to really understand it I guess :)


... in case your blog gets visited by 100.000 korean fiddle players smoe night ...


TeeGee would probably add: some 100.000 *bearded* korean fiddle players ... :D

Cheers, and thanks man! :)
+1
TeeGee posted on May 31, 2019 #7
TeeGee
SUPPORTER
Posts: 1985
Joined: Sep 27, 2014
Absolutely :)
+1
wikiloops online jamsessions are brought to you with friendly support by:
user profile image
Wikiloops is a great idea, well executed and deserves support - come on guys, support it - you don't expect to get anything good for nothing!
flythorn

wikiloops uses Cookies and processes data in compliance with the GDPR,
as stated in our data privacy policy.