Jump to content


These Forums Are Now Read-Only


For TubePress support, please post a question here or open a support ticket and we will be glad to assist.


Photo

Gallery from different sources, videos not in correct order


  • Please log in to reply
1 reply to this topic

#1 Simone Sbarbati

Simone Sbarbati

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 12 March 2012 - 02:31 PM

Hello,
I have a video gallery with two sources, a vimeo channel and a youtube playlist.
Here's the link: http://www.frizzifrizzi.it/tv/
I'd like to put videos in order. I've read the documentation and several q&a here on the forum but I cannot find the solution to have videos in order.
If I only use youtube playlist I'm able to put in order I've published them on my PL.
But if I add a vimeo channel as source my youtube playlist loses his order.
I'd like to be able to have, for example, VIMEO1, YOUTUBE1, YOUTUBE2, VIMEO2, YOUTUBE3, VIMEO3, VIMEO4 etc.
But if that's not possible, at least a couple of rows (as I have now) ordered.

Here's the code I use:
[tubepress resultsPerPage="6" mode="playlist + vimeoChannel" playlistValue="PLD1273387785F56D0" filter_racy="none" resultCountCap="0" cacheEnabled="true" autoplay="true" vimeoChannelValue="frizzifrizzi" orderBy="published + newest"]

Many thanks in advance for your answer.

S.

#2 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 14 March 2012 - 10:50 PM

Hi,

This is definitely a bug, and I'm really surprised that it was only noticed now. To fix, change this line from

$publishedNode = $this->_relativeQuery($index, 'atom:published');
to

$publishedNode = $this->_relativeQuery($index, 'media:group/yt:uploaded');
Could you test that and verify that it works for you as well? Thanks again for the report!