{"id":17057533,"url":"https://github.com/ykws/android-webview-example","last_synced_at":"2026-04-13T16:35:34.385Z","repository":{"id":74319478,"uuid":"151348950","full_name":"ykws/android-webview-example","owner":"ykws","description":"Play audio on Android WebView","archived":false,"fork":false,"pushed_at":"2018-10-03T02:37:14.000Z","size":90,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T07:13:20.572Z","etag":null,"topics":["android","audio","webview"],"latest_commit_sha":null,"homepage":"","language":"Java","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/ykws.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-03T02:02:49.000Z","updated_at":"2023-03-14T05:46:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"bd88c87c-8f38-4ec5-8fa0-d71adf685ae0","html_url":"https://github.com/ykws/android-webview-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ykws/android-webview-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ykws%2Fandroid-webview-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ykws%2Fandroid-webview-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ykws%2Fandroid-webview-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ykws%2Fandroid-webview-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ykws","download_url":"https://codeload.github.com/ykws/android-webview-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ykws%2Fandroid-webview-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31761985,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T15:25:13.801Z","status":"ssl_error","status_checked_at":"2026-04-13T15:25:09.162Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["android","audio","webview"],"created_at":"2024-10-14T10:27:26.459Z","updated_at":"2026-04-13T16:35:34.366Z","avatar_url":"https://github.com/ykws.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Play audio on Android WebView\n\nPlay audio on page finished or resume application, and pause audio on pause application, if target web page implements javascript function `playAudio` and `pauseAudio`.\n\n## Server Side JavaScript Function Example\n\n```javascript\nvar audio;\nvar playAudio = function() {\n  audio.play();\n}\nvar pauseAudio = function() {\n  audio.pause();\n}\n$(document).ready(function() {\n  audio = new Audio('./sample.mp3');\n  audio.addEventListener('ended', function() {\n    this.currentTime = 0;\n    this.play();\n  }, false);\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fykws%2Fandroid-webview-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fykws%2Fandroid-webview-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fykws%2Fandroid-webview-example/lists"}