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)

posted on #1
User Avatar
Moderator
Posts: 316
Joined: 14.02.18
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
Edited by Dick on May 31 2019 02:05
posted on #2
User Avatar
Founder
Posts: 2529
Joined: 30.12.10
this will take a minute longer, I'll get it fixed soonish.
posted on #3
User Avatar
Moderator
Posts: 316
Joined: 14.02.18
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 :)
posted on #4
User Avatar
Founder
Posts: 2529
Joined: 30.12.10
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.
posted on #5
User Avatar
Founder
Posts: 2529
Joined: 30.12.10
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).
posted on #6
User Avatar
Moderator
Posts: 316
Joined: 14.02.18
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! :)
posted on #7
User Avatar
Moderator
Posts: 1050
Joined: 27.09.14
Absolutely :)
wikiloops online jamsessions are brought to you with friendly support by:
Shi

"A friendly and welcoming place, it gives me the chance to be creative and have so much fun with an amazingly talented community. Thanks!"

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