Oembed for My Mitsu Estimation Form

0

My Mitsu, is a webservice in Japan, allows users to create an estimation(calculation) form. A powerful form allows you to create a conditional form with calculation, and outputs a PDF

Version
Last updated
Active installations
WordPress Version
Tested up to
Rating
Total ratings
Tag
This plugin is outdated and might not be supported anymore.

Description

My Mitsu, is a webservice in Japan, allows users to create an estimation(calculation) form. A powerful form allows you to create a conditional form with calculation, and outputs a PDF file. Optionally, you can create a PayPal payment link. It is suited for business persons.
https://my-mitsu.com/ (written in Japanese.)

My Mitsu allows you to put a form into your WordPress website, by filling in a html code, like
<iframe src=”…” width=”…” height=”…”></iframe>

This plugin allows you to output an iframe html tag in a simple way. Simply filling in a url will ouput an iframe html code.

https://my-mitsu.jp/estimation/274 will output <iframe src=”https://my-mitsu.jp/estimation/274″ id=”mymitsu” width=”640″ height=”960″></iframe>

The width/height is determined by the $content_width, which is set in your theme. If you plan to change the width/height, you can use a filter hook.

  • Note * In order to create an estimation form, you need to register My Mitsu https://my-mitsu.jp/register .

Filter Sample

This plugin allows you to set the values for width, and height. You can alter them by hooking the “mymitsu_oembed_width” and “mymitsu_oembed_height” filter. Here is a sample code.

add_filter( 'mymitsu_oembed_width', 'my_embed_width' );
 function my_embed_width() {
     return 800;
 }