yuhui / launchext-youtube-playback Goto Github PK
View Code? Open in Web Editor NEWExtension for Adobe Experience Platform Data Collection Tags (Adobe Launch) to track YouTube video playback
License: GNU General Public License v3.0
Extension for Adobe Experience Platform Data Collection Tags (Adobe Launch) to track YouTube video playback
License: GNU General Public License v3.0
enablejsapi
and origin
parameters.Describe the solution you'd like
Allow "Video Playing" event to be tracked as video started, resumed or replayed.
Describe the bug
On IE11, the extension is not able to setup the players for the (iframe) elements, as an error is thrown: TypeError: Object doesn't support property or method 'forEach'
This is due to the nodeList type does nnot have a forEach method on IE.
To Reproduce
Use the extension on IE11
Expected behavior
It should work on IE11.
Desktop (please complete the following information):
Hi,
Great Launch extension (swoon)!
I have an issue though in that many of our site's YouTube videos have dynamically loaded iframe src attribute and the video plays tracking is failing due to this YouTube constructor issue mentioned here:
https://stackoverflow.com/a/47415537
I was wondering if you could update the extension to fail more gracefully in this case? e.g. as suggested in the Stack Overflow, set it to 0 or something when player.getCurrentTime() is undefined?
Thanks in advance,
Julia
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
I am getting this error when triggering the rules of YouTube video play, pause, milestones and stop events
Uncaught TypeError: e.getCurrentTime is not a function
How to resolve this issue?
Describe the solution you'd like
Allow for milestone tracking based on seconds or percentages of video, at regular intervals or fixed thresholds.
Describe the bug
If the user is on a slow network connection, the YouTube IFrame may not be enabled properly on players.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Playback tracking should happen reliably all of the time.
Describe the bug
When an iframe is constructed, added and removed from the page dynamically, it seems to create a loop with triggering milestone events. This seems to happen if the action is performed quickly.
To Reproduce
Steps to reproduce the behavior:
Here is an example of adding a video dynamically: https://codepen.io/l-triple-o/pen/podPQYN.
Expected behavior
Opening and closing the video does not continue to trigger Video Milestone event from extension.
Desktop
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.