Skip to content

Commit

Permalink
Merge pull request adobe#1526 from lidiaist/patch-1
Browse files Browse the repository at this point in the history
[VA-4675] Create xdmField for playhead
  • Loading branch information
prabhum2 authored May 10, 2022
2 parents f5574de + 74233f7 commit be4f4c9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
3 changes: 2 additions & 1 deletion components/datatypes/media.example.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
"xdm:federated": {
"xdm:value": 0
}
}
},
"xdm:playhead": 831
}
}
7 changes: 6 additions & 1 deletion components/datatypes/media.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -849,9 +849,14 @@
"title": "Audio content publisher",
"type": "string",
"description": "Name of the audio content publisher."
},
"xdm:playhead": {
"title": "Player time playhead",
"type": "integer",
"description": "If the content is live, the playhead must be the current second of the day, 0 <= playhead < 86400. If the content is recorded, the playhead must be the current second of content, 0 <= playhead < content length."
}
},
"required": ["xdm:primaryAssetReference"],
"required": ["xdm:primaryAssetReference", "xdm:playhead"],
"meta:titleId": "media##xdm:mediaTimed##title##78891",
"meta:descriptionId": "media##xdm:mediaTimed##description##36241"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,8 @@
},
"xdm:idp": "MyTVOnline",
"xdm:mediaAuth": "Sample auth",
"xdm:dayPart": "daytime"
"xdm:dayPart": "daytime",
"xdm:playhead": 831
}
}
}

0 comments on commit be4f4c9

Please sign in to comment.