{"id":42591913,"url":"https://github.com/threadi/play-audio-once","last_synced_at":"2026-01-28T23:14:00.679Z","repository":{"id":39921387,"uuid":"465092253","full_name":"threadi/play-audio-once","owner":"threadi","description":"Provides an option for Gutenbergs Audio-Block to prevent multiple playbacks.","archived":false,"fork":false,"pushed_at":"2025-10-20T19:24:01.000Z","size":3730,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-20T21:25:39.017Z","etag":null,"topics":["wordpress-gutenberg","wordpress-plugin"],"latest_commit_sha":null,"homepage":"https://wordpress.org/plugins/play-audio-once/","language":"PHP","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/threadi.png","metadata":{"files":{"readme":"readme.md","changelog":"changelog.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-03-01T23:41:52.000Z","updated_at":"2025-10-20T19:23:58.000Z","dependencies_parsed_at":"2023-02-08T05:45:41.678Z","dependency_job_id":"718c1f7f-4a88-49dd-9968-47af67b5a736","html_url":"https://github.com/threadi/play-audio-once","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/threadi/play-audio-once","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threadi%2Fplay-audio-once","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threadi%2Fplay-audio-once/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threadi%2Fplay-audio-once/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threadi%2Fplay-audio-once/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/threadi","download_url":"https://codeload.github.com/threadi/play-audio-once/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threadi%2Fplay-audio-once/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28854550,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T22:56:21.783Z","status":"ssl_error","status_checked_at":"2026-01-28T22:56:00.861Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["wordpress-gutenberg","wordpress-plugin"],"created_at":"2026-01-28T23:14:00.060Z","updated_at":"2026-01-28T23:14:00.673Z","avatar_url":"https://github.com/threadi.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Play audio once\n\nThis repository is the database for the plugin _Play audio once_. This plugin makes it possible to set audio files in the Gutenberg editor so that a visitor can only play them once.\n\n## Usage\n\nAfter checkout go through the following steps:\n\n1. copy _build/build.properties.dist_ to _build/build.properties_.\n2. modify the build/build.properties file - note the comments in the file.\n3. execute the command in _build/_: `ant init`\n4. after that the plugin can be activated in WordPress\n\n## Release\n\n1. increase the version number in _build/build.properties_.\n2. execute the following command in _build/_: `ant build`\n3. after that you will finde in the release directory a zip file which could be used in WordPress to install it.\n\n## Translations\n\nI recommend to use [PoEdit](https://poedit.net/) to translate texts for this plugin.\n\n### generate pot-file\n\nRun in main directory:\n\n`wp i18n make-pot . languages/play-audio-once.pot --exclude=src,svn`\n\n### update translation-file\n\n1. Open .po-file of the language in PoEdit.\n2. Go to \"Translate\" \u003e \"Update from POT-file\".\n3. After this the new entries are added to the language-file.\n\n### export translation-file\n\n1. Open .po-file of the language in PoEdit.\n2. Go to File \u003e Save.\n3. Upload the generated .mo-file and the .po-file to the plugin-folder languages/\n\n### generate json-translation-files\n\nRun in main directory:\n\n`wp i18n make-json languages`\n\nOR use ant in build/-directory: `ant json-translations`\n\n## Build blocks\n\n### Requirements\n\n`npm install`\n\n### Run for development\n\n`npm start`\n\n### Run for release\n\n`npm run build`\n\nHint: will be called by ant-command mentioned above.\n\n## Check for WordPress Coding Standards\n\n### Initialize\n\n`composer install`\n\n### Run\n\n`vendor/bin/phpcs --standard=ruleset.xml .`\n\n### Repair\n\n`vendor/bin/phpcbf --standard=ruleset.xml .`\n\n## Generate documentation\n\n`vendor/bin/wp-documentor parse app --format=markdown --output=docs/hooks.md --prefix=play_audio_once_`\n\n## Check for WordPress VIP Coding Standards\n\nHint: this check runs against the VIP-GO-platform which is not our target for this plugin. Many warnings can be ignored.\n\n### Run\n\n`vendor/bin/phpcs --extensions=php --ignore=*/vendor/*,*/attributes/*,*/node_modules/*,*/svn/*,*/releases/*,*/app/Dependencies/* --standard=WordPress-VIP-Go .`\n\n## Analyse with PHPStan\n\n`vendor/bin/phpstan analyse`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthreadi%2Fplay-audio-once","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthreadi%2Fplay-audio-once","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthreadi%2Fplay-audio-once/lists"}