Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

229
Views
How can i know my iframe youtube video is finish?

I am developing a django project.Like udemy.Users can buy course but we are fetching course from youtube.If the user click the a tag the popup is opening and after click play video is playing on popup.We want to if video is finish do something.How can we do that?

course-detail.html

<div class="list_lessons">
                                            <ul>
                                                {% if session.getVideos %}

                                                {% for video in session.getVideos %}
                                                
                                                {% if video.video_type == "everybody" %}
                                                <li ><a style="color: green; font-weight: bold;" href="{{video.url}}"
                                                    class="video">{{video.title}}</a><span></span></li>
                                                {% else %}
                                                    
                                                    {% if has_bougth == "true" %}
                                                    <li ><a style="color: green; font-weight: bold;" href="{{video.url}}"
                                                        class="video">{{video.title}}</a><span></span></li>
                                                     {% else %}
                                                     <li><a href="#" style="pointer-events: none; cursor: default;"
                                                        class="video"><i class="fa-solid fa-lock"></i> {{video.title}}</a><span></span></li>
                                                    {% endif %}
                                                        
                                                
                                                {% endif %}

                                                {% endfor %}

                                                {% endif %}
                                            </ul>
                                        </div>
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!