{"id":18791867,"url":"https://github.com/saksmt/angular-jplayer-wrapper","last_synced_at":"2025-04-13T14:30:45.423Z","repository":{"id":25166625,"uuid":"28589609","full_name":"saksmt/angular-jplayer-wrapper","owner":"saksmt","description":"Simple wrapper around jPlayer for angular","archived":false,"fork":false,"pushed_at":"2014-12-31T14:59:47.000Z","size":156,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"develop","last_synced_at":"2024-10-11T17:28:00.395Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/saksmt.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-29T11:10:09.000Z","updated_at":"2020-12-26T16:59:38.000Z","dependencies_parsed_at":"2022-08-23T21:20:22.022Z","dependency_job_id":null,"html_url":"https://github.com/saksmt/angular-jplayer-wrapper","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saksmt%2Fangular-jplayer-wrapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saksmt%2Fangular-jplayer-wrapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saksmt%2Fangular-jplayer-wrapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saksmt%2Fangular-jplayer-wrapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/saksmt","download_url":"https://codeload.github.com/saksmt/angular-jplayer-wrapper/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223588983,"owners_count":17169899,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T21:17:10.342Z","updated_at":"2024-11-07T21:17:10.904Z","avatar_url":"https://github.com/saksmt.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"angular-jplayer-wrapper\n=======================\n\nSimple wrapper around jPlayer for angularJS.\n\nAPI\n===\n\nServices\n--------\n\n * `jPlayer` - provides wrapper-class for jPlayer instance;\n * `jPlayerFactory` - creates new players;\n\nMethods\n-------\n\n**jPlayerFactory**\n\n`jPlayerFactory::createPlayer(selector, media): jPlayer` - creates new player instance and puts it into element specified by `selector`; Parameters: `selector` - valid jQuery selector, `media` - valid jPlayer media object.\n\n`jPlayerFactory::createLiveStreamPlayer(selector, media): jPlayer` - same as `jPlayerFactory::createPlayer`, except design for live streams;\n\n**jPlayer**\n\n`jPlayer::play([position]): jPlayer` - if `position` not set resume playing otherwise play from specified `position`;\n\n`jPlayer::pause([position]): jPlayer` - if `position` not set pause playing otherwise move to `position` and pause;\n\n`jPlayer::setMedia(media): jPlayer` - set media for player, where `media` valid jPlayer media-object;\n\n`jPlayer::preload(): jPlayer` - starts loading of media;\n\n`jPlayer::pauseOthers([position]): jPlayer` - calls `jPlayer::pause(position)` on other players;\n\n`jPlayer::clearMedia(): jPlayer` - clears media;\n\n`jPlayer::stop(): jPlayer` - stops player;\n\n`jPlayer::tellOthers(command, [options, [filterFunction]]): jPlayer` - tells others to do the `command` with `options`, \"others\" are filtered by `filterFunction`;\n\n`jPlayer::getOption(optionName): mixed` - get value of an option with specified name;\n\n`jPlayer::setOption(optionName, optionValue): jPlayer` - set value for option with specified name;\n\n`jPlayer::seekAndPlay(positionInPercents): jPlayer` - seek to position specified in percents and play;\n\n`jPlayer::destroy(): null` - destroy player;\n\n`jPlayer::mute(): jPlayer` - mute player;\n\n`jPlayer::unmute(): jPlayer` - unmute player;\n\n`jPlayer::isMuted(): bool` - check whether player is muted or not;\n\n`jPlayer::muteToggle(): bool` - toggle mute mode and return new value;\n\n`jPlayer::isPlaying(): bool` - check whether player is playing or not;\n\n`jPlayer::toggle(): bool` - toggle playing and return new value;\n\n`jPlayer::on(eventName, eventCallback): jPlayer` - add event handler;\n\n`jPlayer::once(eventName, eventCallback): jPlayer` - set event handler;\n\n`jPlayer::isReady(): bool` - check whether player is ready or not;\n\nEvents\n------\n\nSee jPlayer event list, the only difference: in this wrapper all event names are camelized(in camelCase) and callback signature is `function(originalEvent, wrappedPlayer)`.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaksmt%2Fangular-jplayer-wrapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaksmt%2Fangular-jplayer-wrapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaksmt%2Fangular-jplayer-wrapper/lists"}