Introduce new feature – Protect Page & Post Short Code

July 2, 2019

We’re very exited to introduce you a new Protect Pages & Posts feature, Private Link Short Code from version 1.0.15. How cool is it? Display private links in the post content First of all, we need to grab the short code’s template in the plugin settings. Under the General tab, in PRIVATE ACCESS LINKS section,…

How to get CloudFront key pairs?

June 15, 2019

Sign-in to AWS Console with your root account Go to “My Security Credentials” In CloudFront key pairs section, click on Create New Key Pair button. Click on “Download Private Key File” and you should receive a file having the format key-XYZ.pem Fill in your CloudFront key pairs in the CloudFront Configuration with XYZ is Access…

URL Validation

June 13, 2019

Testing cases: Without schema: invalid (google.com)Short syntax: valid (//google.com)Without www: valid (http://google.com)IP Address: valid (http://1.1.1.2)Port number: valid (http://168.1.1.1:8080)Private & Local network: invalid (http://localhost, http://192.168.1.1)Unicode domain and path: valid (http://مثال.إختبار)Resource path with space: invalid (http://google.com/dasdasd dasdsad) need to encode URI (http://google.com/dasdasd%20dasdsad)

Configuration for Testing Purpose

June 13, 2019

PDA S3 Videos: AWS Key: AKIAUH4U4O2G67ERJP4BAWS Secret: LWr0Jn7GdgGGbku6C09SfjanqoCH4obKXsj5KB+2Access Key ID: APKAIDDPLWOMVMHV7G4ACloudFront URL: http://d3eh7hc94pug82.cloudfront.netRSA KEY: contact thinhnp for more detailsBucket: linh-demoAWS Region: ap-southeast-1 PDA S3: Updating

Task Convention for Asana

June 13, 2019

version 0.0.1 created by: thinhnp This convention inherits from this document and the draft post idea 1-2.Task title format: <Plugin name>: <Task title> If the task related to more than plugins then combining them by |. Example PDA Video S3|PDA S3.Task title: describes shortly which problems the task wants to deal with 3. Task description:…

WavePlayer – Love or Hate

June 12, 2019

This post guides how to test WavePlayer. In order to integrate with WavePlayer, we modified the WavePlayer plugin both front-end and back-end and created a new shortcode pwv_waveplayer. The pwv_waveplayer shortcode contains the following attributes: + url: S3 URL+ is_s3: should be “true”, it means that serving for S3 URL If the peak files are…

WavePlayer Integration Guide

June 12, 2019

WavePlayer is an awesome audio player plugin with a beautiful user interface and nice functions. In order to work properly with our plugin Protect WordPress Videos – S3 hosted files, we need to modify the WavePlayer code base. 1. Replace the modified waveplayer.min.js Replace the waveplayer.min.js (https://pda-public-resources.s3-ap-southeast-1.amazonaws.com/waveplayer.min.js) in folder assets/js 2. Update context option In…