Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have a view with the header player in it. I also have Auto Next enabled in the player preset. When I load a video into the player by clicking a linked field in the view, the video that gets played after the loaded one is always the one in the #2 position. After that, the video playback continues in the correct order.
The reason seems to be that the method used for loading a video on linked field click (player.loadNode()
) doesn't allow the playlist to correctly initialize the internal queue index. The attached patch fixes the bug by calling playlist.loadItem()
instead.
Comment | File | Size | Author |
---|---|---|---|
linked-field-auto-next-order.patch | 879 bytes | jamix |