"YouTube Revenue Calculator" (or "YTRC"), will calculate the revenue of YouTube video/channel, base on video view counts. Multiple options provided.
Upload everything to your server, eg.:
//sample.com/ytrc/
Embed iframe.html
into your page.
<iframe src="//sample.com/ytrc/iframe.html" frameBorder="0" width="1000" height="800"></iframe>
All of the options can pass by URL query.
When you change them in setting panel, the URL will update at the same time.
Most of the options use "1/0" to present "on/off".
(eg., channel=1&link=0
)
key
: Generate your own YouTube app key.- Change it in iframe
head
or pass by URL query. - Show in URL only when "Change Key" option is on with setting panel.
- Change it in iframe
path
: To input a preset youtube video/channel url.- The preset path will be auto queried on start.
channel
: Default mode is for "video", turn this on for "channel".desc
: To skip description under heading, turn this off.link
: To manually input video views, turn this off.rpm
: To manually input RPM, turn this on.note
: To show note for RPM, turn this on.highlight
: To highlight result with YouTube red background, turn this on.detail
: To show detail for channel/video, turn this on.- Disabled when
link
is off, orhighlight
is on.
- Disabled when
title
: You can override title with this.- Show in URL only when "Change Title" option is on with setting panel.
- change vendor to vue v2
- auto query path on start
- check channel/video id length
- allow pass video/channel path from url
- support "youtube.com/embed/" path
- update vendor with online version
- update vendors
- update api key
- allow "youtu.be/" path
- add promise polyfill
- show error
- replace CPM with RPM
- initial release