DeviateDefiant
Member
I knocked up a quick fix for our site, but the issue I have with converting them to "customised" standard links (ie. displaying as a block with the eBay logo) is that I can't select the original eBay country domain.
I'll be adding our eBay affiliate ID to the link in the future.If you publish your changes I'll see what I can do.
<div class="media-ebay"><img src="(...)/icon_ebay.png" srcset="(...)" alt="eBay Logo"> <a href="http://ebay.co.uk/itm/{$id}" title="View on eBay" target="_blank">Item Shared</a></div>
YouTube changes which are out of the developers control AFAIK.Do you know why youtube no longer displays the title of the video? My users are very frustrated with this. No one wants to click a video that they can't see the title to...
As DeviateDefiant mentioned, it's just YouTube trying out stuff. In this case, they've changed some UI options. I will almost certainly update the pack tomorrow to make it look more like it used to. The new "bare" version loads faster though.Do you know why youtube no longer displays the title of the video? My users are very frustrated with this. No one wants to click a video that they can't see the title to...
<?php
class s9e_Custom
{
public static function ebay($html, $vars)
{
$tlds = [
'de_AT' => 'at',
'en_GB' => 'co.uk',
'de_DE' => 'de',
'fr_FR' => 'fr',
'it_IT' => 'it'
];
$tld = (isset($vars['lang'], $tlds[$vars['lang']])) ? $tlds[$vars['lang']] : 'com';
$html = '<div class="media-ebay"><img src="(...)/icon_ebay.png" srcset="(...)" alt="eBay Logo"> <a href="http://ebay.' . $tld . '/itm/' . urlencode($vars['id']) . '" title="View on eBay" target="_blank">Item Shared</a></div>';
return $html;
}
}
YouTube has changed their control options. This restores the display of the player's controls by default.
eBay seems to have silently killed their line of widgets, with no replacement. This update provides a link to the item in place of the now-defunct eBay To Go widget.
I figured, but I wanted to make sure I wasn't supposed to be seeing some other iframe-y thing you cocked up.Yes. For the time being there's no alternative. eBay killed their widgets.
The width is fixed at 560px , the height depends on the content. If there's a video, it can play in full screen but I don't think it would start in full screen.Wasn't Facebook full screen at one time or is it my imagination.
It may need to be updated because I removed the "controls" option from the iframe URL. Edit: if you were using this custom template I've just updated the post with a working version.Do I need to clean up Custom.php after updating to the latest version because of YouTube related changes?
Well that sucks. Will you monitor this in case they bring it back?Yes. For the time being there's no alternative. eBay killed their widgets.
Bummer.I intend to periodically check (manually) for their JavaScript widgets for a little while, but I have no hope for the eBay To Go flash widget because they removed the domain name from their own DNS.
I"m not sure how to get this working, when I get either page link or direct link to the 'image' it can't do it. When I copy the direct url it says .mp4 at the end, not sure if that's why it's not working.That would have made it easier to identify GIFV by their URLs, yes.
In my case, though, the issue of complexity is entirely mine. When I created the Imgur media site, I only intended to support albums and therefore the code [ΜEDIA=imgur]abc123[/ΜEDIA] refers to the album abc123. If I'm going to support other media I'll have to add a qualifier, e.g. [ΜEDIA=imgur]id=abc123;type=album[/ΜEDIA] or [ΜEDIA=imgur]id=abc123;type=gifv[/ΜEDIA] and if I do I'll have to decide what the default type should be. If it's not "album" it will mean that current users will have to use the Post Content Replacer to update their old embeds. It's not difficult from a technical standpoint but I want to get it right and not change my mind later because I don't want to ask users to update their old embeds multiple times, if any.
That's exactly why. Imgur's blog post about GIFV only mentionned the .gifv extension.I"m not sure how to get this working, when I get either page link or direct link to the 'image' it can't do it. When I copy the direct url it says .mp4 at the end, not sure if that's why it's not working.
Added support for URLs that end in .mp4
We use essential cookies to make this site work, and optional cookies to enhance your experience.