Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-63609

Youtube link timecode request variable stripped with Multimedia filter

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.4.5, 3.5.5, 3.6.3, 3.7, 3.7.5, 3.8.2
    • Fix Version/s: 3.7.6, 3.8.3
    • Component/s: Filters
    • Testing Instructions:
      Hide

      Enabled VideoJS filter

      1. Navigate to Site administration > Plugins > Media players > Manage media players
      2. Ensure VideoJS player is the only enabled player
      3. Press Settings next to VideoJS player
      4. Enable YouTube videos (if they are disabled) and press Save changes

      Embed Youtube video with timestamp

      1. Navigate to course
      2. Create label resource
      3. Enter following HTML code in the Label text field (you'll need to use the </> Atto button)

        <a href="https://youtu.be/wlrFHJS8aZY?t=2m58s">Hello</a>
        

      4. Confirm video starts at 2 minutes 58 seconds when embedded in VideoJS player
         
      Show
      Enabled VideoJS filter Navigate to Site administration > Plugins > Media players > Manage media players Ensure VideoJS player is the only enabled player Press Settings next to VideoJS player Enable  YouTube videos  (if they are disabled) and press Save changes Embed Youtube video with timestamp Navigate to course Create label resource Enter following HTML code in the Label text field (you'll need to use the </> Atto button) <a href="https://youtu.be/wlrFHJS8aZY?t=2m58s">Hello</a> Confirm video starts at 2 minutes 58 seconds when embedded in VideoJS player  
    • Affected Branches:
      MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE
    • Fixed Branches:
      MOODLE_37_STABLE, MOODLE_38_STABLE
    • Pull 3.7 Branch:
    • Pull 3.8 Branch:
    • Pull Master Branch:

      Description

      If you add a link to Youtube video using a timecode shortcut ... 

      e.g. https://youtu.be/wlrFHJS8aZY?t=145

      player starts video at beginning, reloading page restarts video where player last left off, neither respects the start time in the URL

      ( just tried this on https://demo.moodle.net and it's not even auto embedding the link! is that broken?)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pholden Paul Holden
              Reporter:
              mikehughes Michael Hughes
              Peer reviewer:
              Neill Magill
              Integrator:
              Andrew Nicols
              Tester:
              Janelle Barcega
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/May/20

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours, 2 minutes
                  2h 2m