Property mapping
Review a table representing property mapping for Web SDK.
AMP1 property | AMP2 access | Status | Migration notes |
---|---|---|---|
currentTime | getCurrentTime()/seek() | Alternative | AMP1: property AMP2: methods |
absoluteCurrentTime | getCurrentTime() | Partial | AMP2 doesn't distinguish absolute vs transformed |
duration | getDuration() | Alternative | AMP1: property AMP2: method |
absoluteDuration | getDuration() | Partial | AMP2 doesn't distinguish absolute vs transformed |
paused | isPaused() | Alternative | AMP1: property AMP2: method |
ended | hasEnded() | Alternative | AMP1: property AMP2: method with different name |
seeking | N/A | ✗ Missing | Monitor seek /seeked events instead |
waiting | N/A | Alternative | Monitor stallstarted /stallended events |
buffering | N/A | Alternative | Monitor stallstarted /stallended events |
isLive | isLive() | ✓ Compatible | Direct mapping |
error | N/A | Alternative | Monitor error events instead |
mouseOver | N/A | ✗ Missing | Handle with DOM events on container |
mouseX | N/A | ✗ Missing | Handle with DOM events on container |
mouseY | N/A | ✗ Missing | Handle with DOM events on container |
volume | getVolume()/setVolume() | Alternative | AMP1: 0-1 scale property AMP2: 0-100 scale methods |
muted | isMuted()/mute()/unmute() | Alternative | AMP1: property AMP2: separate methods |
playbackRate | getPlaybackSpeed()/setPlaybackSpeed() | Alternative | AMP1: property AMP2: methods |
autoplay | N/A | Alternative | Set in player config only |
loop | N/A | Alternative | Set in player config only |
controls | N/A | Alternative | Set in UI config only |
hidden | N/A | Alternative | Control via CSS display property |
language | N/A | Alternative | Set in UI config as locale |
busy | N/A | ✗ Missing | Handle via custom UI implementation |
src | load() | Alternative | AMP1: property, AMP2: method with source object |
source | load() | Alternative | Different structure. Use source object. |
media | load() | Alternative | AMP1: uses media object AMP2: uses source object |
mediaElement | N/A | Alternative | Access via DOM: container.querySelector('video') |
preload | N/A | Alternative | Set in player config as adaptation.preload |
playbackTarget | N/A | ✗ Missing | Casting handled separately via Cast API |
container | getContainer() | Alternative | AMP1: property AMP2: method |
width | N/A | Alternative | Get from container.offsetWidth |
height | N/A | Alternative | Get from container.offsetHeight |
left | N/A | Alternative | Get from container.getBoundingClientRect().left |
top | N/A | Alternative | Get from container.getBoundingClientRect().top |
right | N/A | Alternative | Get from container.getBoundingClientRect().right |
bottom | N/A | Alternative | Get from container.getBoundingClientRect().bottom |
videoWidth | N/A | Alternative | Get from video element.videoWidth |
videoHeight | N/A | Alternative | Get from video element.videoHeight |
displayState | N/A | ✗ Missing | Display state not supported |
audioTracks | getAvailableAudio() | Alternative | Different API structure and methods |
textTracks | getAvailableSubtitles() | Alternative | Different API structure and methods |
chapterTracks | N/A | ✗ Missing | Chapter tracks not supported |
previewTracks | N/A | ✗ Missing | Preview tracks not supported |
quality | getVideoQuality() | Alternative | AMP1: uses bitrate AMP2: uses quality ID |
qualityLevels | getAvailableVideoQualities() | Alternative | Different data structure |
qualityMode | N/A | Alternative | Control via adaptation configuration |
maxBitrate | N/A | Alternative | Set via adaptation.maxSelectableVideoBitrate |
maxQualityLevel | N/A | Alternative | Control via adaptation configuration |
config | N/A | ✗ Missing | Config not accessible after player creation |
settings | N/A | ✗ Missing | User settings not exposed via API |
captioning | subtitles | Alternative | Different API structure for subtitle management |
cues | N/A | ✗ Missing | Cue points not supported in Bitmovin Player |
timers | N/A | ✗ Missing | Timer system not provided |
params | N/A | ✗ Missing | Custom parameters not supported |
version | version | ✓ Compatible | Both provide version information |
autoplayPolicy | N/A | ✗ Missing | Autoplay policy not exposed |
autoplayThreshold | N/A | ✗ Missing | Autoplay threshold not exposed |
defaultMediaTransform | N/A | ✗ Missing | Transform system not available |
Updated about 3 hours ago