{"id":18340541,"url":"https://github.com/streamaserver/streama-video-player","last_synced_at":"2025-12-12T04:35:02.575Z","repository":{"id":58231609,"uuid":"83889941","full_name":"streamaserver/streama-video-player","owner":"streamaserver","description":"Extracted streama video player","archived":false,"fork":false,"pushed_at":"2023-04-06T14:46:41.000Z","size":1266,"stargazers_count":23,"open_issues_count":12,"forks_count":8,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-08-12T08:16:39.043Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/streamaserver.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2017-03-04T11:54:18.000Z","updated_at":"2025-04-19T22:48:05.000Z","dependencies_parsed_at":"2023-07-13T16:15:12.926Z","dependency_job_id":null,"html_url":"https://github.com/streamaserver/streama-video-player","commit_stats":null,"previous_names":["dularion/streama-video-player"],"tags_count":24,"template":false,"template_full_name":null,"purl":"pkg:github/streamaserver/streama-video-player","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamaserver%2Fstreama-video-player","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamaserver%2Fstreama-video-player/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamaserver%2Fstreama-video-player/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamaserver%2Fstreama-video-player/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/streamaserver","download_url":"https://codeload.github.com/streamaserver/streama-video-player/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamaserver%2Fstreama-video-player/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27676068,"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","status":"online","status_checked_at":"2025-12-12T02:00:06.775Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-05T20:22:54.051Z","updated_at":"2025-12-12T04:35:02.559Z","avatar_url":"https://github.com/streamaserver.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n# The Streama Video-Player\nA standalone version of the new video player used in the Streama project and the Streama mobile app.\n\n# Table of contents\n- [The player UI](#the-player-ui)\n- [Installation (using bower)](#installation-using-bower)\n- [Usage](#usage)\n- [Options](#options)\n- [FAQs](#faqs)\n\n# The player UI \n### The Player\n![UIExample1](example/Screen%20Shot%202017-06-23%20at%2023.03.49.png)\n\n### Subtitle \u0026 Subtitle Size UI \n![UIExample2](example/Screen%20Shot%202017-06-23%20at%2023.03.55.png)\n\n### For TV-Shows: Episode UI \n![UIExample3](example/Screen%20Shot%202017-06-23%20at%2023.04.02.png)\n\n# Installation (using bower)\n`bower install streama-video-player --save`  \nThis command installs the streama-video-player as well as all dependencies\n\n\n# Usage\n### Load dependencies\n```html\n    \u003c!-- LOAD ALL JS DEPENDENCIES --\u003e\n    \u003cscript src=\"bower_components/angular/angular.js\"\u003e\u003c/script\u003e\n    \u003cscript src=\"bower_components/angular-sanitize/angular-sanitize.js\"\u003e\u003c/script\u003e\n    \u003cscript src=\"bower_components/angular-translate/angular-translate.js\"\u003e\u003c/script\u003e\n    \u003cscript src=\"bower_components/jquery/dist/jquery.js\"\u003e\u003c/script\u003e\n    \u003cscript src=\"bower_components/jquery-mousewheel/jquery.mousewheel.js\"\u003e\u003c/script\u003e\n    \u003cscript src=\"bower_components/mousetrap/mousetrap.js\"\u003e\u003c/script\u003e\n    \u003cscript src=\"bower_components/angular-local-storage/dist/angular-local-storage.js\"\u003e\u003c/script\u003e\n    \u003cscript src=\"bower_components/angularjs-slider/dist/rzslider.min.js\"\u003e\u003c/script\u003e\n    \u003cscript src=\"bower_components/streama-i18n/dist/streama-i18n.min.js\"\u003e\u003c/script\u003e\n    \n    \u003c!-- LOAD ALL CSS DEPENDENCIES --\u003e\n    \u003clink rel=\"stylesheet\" href=\"bower_components/Ionicons/css/ionicons.css\"\u003e\n    \u003clink rel=\"stylesheet\" href=\"bower_components/angularjs-slider/dist/rzslider.css\"\u003e\n```\n\n### Load Streama-video-player\n```html\n    \n    \u003c!-- LOAD STREAMA_VIDEO_PLAYER JS --\u003e\n    \u003cscript src=\"bower_components/streama-video-player/dist/streama-video-player.js\"\u003e\u003c/script\u003e\n    \n    \u003c!-- LOAD STREAMA_VIDEO_PLAYER CSS --\u003e\n    \u003clink rel=\"stylesheet\" href=\"bower_components/streama-video-player/dist/streama-video-player.css\"\u003e\n```\n\n### Directive usage\n```html\n\u003cscript\u003e\n\tangular.module('yourModule', ['streama.videoPlayer']).run(function($rootScope){\n\t\t$rootScope.videoOptions = {\n\t\t\tvideoSrc: 'http://techslides.com/demos/sample-videos/small.mp4'\n\t\t}\n\t});\n\u003c/script\u003e\n\n\n\u003cdiv ng-app=\"yourModule\"\u003e\n    \u003cstreama-video-player options=\"videoOptions\"\u003e\u003c/streama-video-player\u003e\n\u003c/div\u003e\n``` \n\n# Options\n```javascript\n// default options\n$scope.videoOptions = {\n\tcustomStartingTime: 0,\n\trememberVolumeSetting: true,\n\tvideoMetaTitle: '',\n\tvideoMetaSubtitle: '',\n\tvideoMetaDescription: '',\n\tvideoSrc: '',\n\tvideoType: '',\n\tvideoTrack: '',\n\tvideoOverlayEnabled: true,\n\tshowEpisodeBrowser: false,\n\tshowNextButton: false,\n\tshowSocketSession: true,\n\tepisodeList: [],\n\tselectedEpisodes: [],\n\tcurrentEpisode: {},\n\tisExternalLink: false,\n\tonSocketSessionCreate: angular.noop,\n\tonTimeChange: angular.noop,\n\tonError: angular.noop,\n\tonPlay: angular.noop,\n\tonPause: angular.noop,\n\tonClose: angular.noop,\n\tonNext: angular.noop,\n\tonVideoClick: angular.noop\n};\n\n\n// Example options for TV-Show Episode \n$scope.videoOptions = {\n\tvideoSrc: 'https://streama.club/file/serve/1497.mkv',\n\tisExternalLink: true,\n\tepisodeList: {\n\t\t1: [   // wrapper for season, number indicates season number\n\t\t\t{\n\t\t\t\tid: 1,  //unique ID for this piece of data\n\t\t\t\tname: 'Pilot', \n\t\t\t\tseason_number: 1, \n\t\t\t\tepisode_number:1, \n\t\t\t\tepisodeString: 's01e01', \n\t\t\t\tstill_path: 'https://image.tmdb.org/t/p/original/ydlY3iPfeOAvu8gVqrxPoMvzNCn.jpg', \n\t\t\t\toverview: 'Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.', \n\t\t\t\tvideoDuration: 1320  //in seconds\n\t\t\t}\n\t\t// and more episodes...\n    ]\n  },\n\tshowEpisodeBrowser: true,\n\tcurrentEpisode : {\n\t\tepisode: 1,\n\t\tseason: 1,\n\t\tid: 1\n\t},\n  subtitles: [\n\t\t{\n\t\t\t\"id\": 1561, \n\t\t\t\"src\": \"/example/sub-de.vtt\", \n\t\t\t\"subtitleLabel\": \"Deutsch\", \n\t\t\t\"subtitleSrcLang\": \"de\", \n\t\t\t\"contentType\": \"application/x-subrip\"\n\t\t}\n\t\t// and more subtitles\n  ],\n  currentSubtitle: 1562  // unique subtitle ID matching one of the ones in the subtitles list\n}\n\n\n\n```\n\n\n# FAQs\n- Make sure your http to the video has Access-Control-Allow-Origin enabled\n- Make sure the videos you use are HTML5 compatible\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstreamaserver%2Fstreama-video-player","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstreamaserver%2Fstreama-video-player","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstreamaserver%2Fstreama-video-player/lists"}