Commit Graph

7 Commits

Author SHA1 Message Date
Joey Parrish f539147d48 fix: Correct license headers in compiled output
This fixes all the license headers in the main library, which corrects
the appearance of the main license in the compiled output.

It seems that the `!` in the header forces the compiler to keep it in
the output.  I believe older compiler releases did this purely based
on `@license`.

Issue #2638

Change-Id: I7f0e918caad10c9af689c9d07672b7fe9be7b2f3
2020-06-09 16:05:09 -07:00
Joey Parrish c998ce2721 Fix live seek bar on touch screens
The UI seek bar on touch screen devices was broken in PR #2036 and
v2.5.4 - v2.5.11 for live content.  VOD content, which starts at 0,
was unaffected.

This fixes the range calculations for touch events to correctly
account for the minimum seek range.

Closes #2558

Change-Id: Ic3f6230d88703fd0ea1c9bc15057c0656b1dc42f
2020-05-12 21:14:13 +00:00
Joey Parrish 8867db6773 Fix implicit string-to-number conversions
This was caught by a compiler upgrade.

Issue #2528

Change-Id: Ica262703aa30dce2e59c139c88f3c1e74d5d9e2f
2020-04-27 17:33:06 -07:00
Joey Parrish 64896d70b0 Use shorter license header
This reflects changes in Google's policy on JavaScript license
headers, which should be smaller to avoid increasing the size of the
binary unnecessarily.

This also updates the company name from "Google, Inc" to "Google LLC".

Change-Id: I3f8b9ed3700b6351f43173d50c94d35c333e82b4
2019-11-22 18:18:36 +00:00
Sandra Lokshina a19f344568 Fix touchstart event procesing on Android.
Don't mark the event as passive, so Android can
process it properly.

NOTE: I still see occasional glitches while
seeking a live stream on Android, but the
behavior is much better. There might be another.
smaller bug affecting this, though.

Closes #2169

Change-Id: Icdad0b0029c201a50fd45da34c0361088b9d00d5
2019-10-03 11:43:47 -07:00
Matthias c9bc10d399 Fix seek bar on iOS (#2036)
Use touch events to sync the range element's value when the bar is touched.

This means you no longer have to touch the tiny ball on the seek bar on iOS.

Fixes #1918
2019-07-16 12:41:33 -07:00
Joey Parrish fcbb72561f Refactor UI range elements
This factors out common functionality and structure from the volume
bar and seek bar, both of which involved specific CSS workarounds for
IE.  The seek bar had logic to keep the value from jumping around
during casting, which now the volume bar benefits from, as well.
Finally, the seek bar code was spread out throughout controls.js, and
now it has its own class.

Closes #1913

Change-Id: I299476ccbc27f28f7b225a6e6f8b0d21abe5baf2
2019-07-10 12:26:54 -07:00