CINXE.COM
<!DOCTYPE html> <html xmlns:ng="http://angularjs.org" ng-app="syllabicApp" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title></title> <meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="stylesheet" type="text/css" href="https://www.eastcree.org/css/bootstrap.min.css"/> <link rel="stylesheet" type="text/css" href="https://www.eastcree.org/css/bootstrap-theme.min.css"/> <script type="text/javascript" src="https://www.eastcree.org/js/jquery-3.1.0.min.js"></script> <script type="text/javascript" src="https://www.eastcree.org/js/bootstrap.min.js"></script> <script type="text/javascript" src="https://www.eastcree.org/js/angular.min.js"></script> <script type="text/javascript" src="https://www.eastcree.org/js/angular-route.min.js"></script> <script type="text/javascript" src="https://www.eastcree.org/js/angular-sanitize.min.js"></script> <style type="text/css"> @font-face { font-family: "BJCree UNI"; src: url("/downloads/bjcrus.eot"); src: local("BJCree UNI"), url("/downloads/bjcrus.ttf") format("truetype"); } .syl { font-family:"BJCree Uni"; font-size:1.5em; /*color:#600;*/ } body{ background: #eee; } .table-wrap{ display: inline-block; background: #DDDDFF; padding: 0.25em; margin: 1em; border: 0.5em solid #8888BB; } .syllabic-chart{ margin: 0 auto; max-width: 90.2em; } .syllabic-chart h1{ color: #e0e0f1; margin-left: 0.4em; } .main-section{ float: left; width: auto; } .side-section{ float: left; width: auto; } .syllabic-button{ } .syllabic-button td{ padding: 0.25em; } .syllabic-button span{ width: 5em; min-height: 4.6em; } .syllabic-button img{ max-height: 2em; } .btn-default { background-image: -webkit-linear-gradient(top, #ffffff 0%, #e0e0f1 100%); background-image: -o-linear-gradient(top, #ffffff 0%, #e0e0f1 100%); background-image: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#e0e0f1)); background-image: linear-gradient(to bottom, #ffffff 0%, #e0e0f1 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0f1', GradientType=0); filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); background-repeat: repeat-x; border-color: #dbdbec; text-shadow: 0 1px 0 #fff; border-color: #ccd; border-radius: 0px; } .btn-default:hover, .btn-default:focus { background-color: #e0e0f1; background-position: 0 -15px; } .btn-default:active, .btn-default.active { background-color: #e0e0f1; border-color: #dbdbec; } .btn-default.disabled, .btn-default[disabled], fieldset[disabled] .btn-default, .btn-default.disabled:hover, .btn-default[disabled]:hover, fieldset[disabled] .btn-default:hover, .btn-default.disabled:focus, .btn-default[disabled]:focus, fieldset[disabled] .btn-default:focus, .btn-default.disabled.focus, .btn-default[disabled].focus, fieldset[disabled] .btn-default.focus, .btn-default.disabled:active, .btn-default[disabled]:active, fieldset[disabled] .btn-default:active, .btn-default.disabled.active, .btn-default[disabled].active, fieldset[disabled] .btn-default.active { background-color: #e0e0f1; background-image: none; } @media only screen and (max-width: 1268px) { .syllabic-chart{ margin: 0 auto; max-width: 73em; } .btn-lg, .btn-group-lg > .btn { padding: 8px 10px; font-size: 14px; line-height: 1.3333333; } } @media only screen and (max-width: 1020px) { .table-wrap{ display: inline-block; background: #DDDDFF; padding: 0.1em; margin: 0.2em 0.1em; border: 0.1em solid #8888BB; } .syllabic-chart{ margin: 0 auto; max-width: 55em; } .syllabic-chart h1{ margin-left: 0.1em; } .main-section{ float: left; width: auto; } .side-section{ float: left; width: auto; } .syllabic-button td{ padding: 0.1em; } .syllabic-button span{ width: 5em; min-height: 4.9em; } .btn-lg, .btn-group-lg > .btn { padding: 8px 8px; font-size: 12px; line-height: 1.3333333; } } @keyframes colors { 0% {color: white;} 25% {color: red;} 50% {color: blue;} 75% {color: green;} 100% {color: white;} } @keyframes borders { 0% { border-color: rgba(255,255,255,0);} 12.5% { border-color: #fff rgba(255,255,255,0) rgba(255,255,255,0) rgba(255,255,255,0);} 25% { border-color: #fff #fff rgba(255,255,255,0) rgba(255,255,255,0);} 37.5% { border-color: #fff #fff #fff rgba(255,255,255,0);} 50% { border-color: #fff ;} 62.5% { border-color: rgba(255,255,255,0) #fff #fff #fff ;} 75% { border-color: rgba(255,255,255,0) rgba(255,255,255,0) #fff #fff ;} 87.5% { border-color: rgba(255,255,255,0) rgba(255,255,255,0) rgba(255,255,255,0) #fff ;} 100% { border-color: rgba(255,255,255,0);} } </style> </head> <body data-ng-controller="SyllabicController"> <div id="loading" style="background:rgba(0,0,0,0.6); position:fixed; top:0;left:0;right:0;bottom:0;"><div style='position:fixed; top:30%; left:30%; color:white; font-size:3em; border: 10px solid #fff; padding:2em; border-radius:1em; animation-name:borders; animation-duration: 8s;animation-iteration-count: infinite;animation-timing-function: linear;'>Loading <span style="animation-name:colors; animation-duration: 4s;animation-iteration-count: infinite;">...</span></div></div> <div class="syllabic-chart"> <h1 class=" page-header " style="color:#666">Syllabic Chart: Eastern James Bay Cree</h1> <div class="table-wrap main-section"> <table class="syllabic-button"> <tr> <td onclick="playAudio(this)"> <span class="btn btn-default btn-lg"> <!--<img data-ng-src="https://www.eastcree.org/img/syllabics/e.png" />--> <span class="syl" data-ng-bind="getSyllabics('e', true)"></span> <br />e <audio> <source src="https://www.eastcree.org/snd/syllabics/e.mp3" type="audio/mpeg"> </audio> </span> </td> <td onclick="playAudio(this)"> <span class="btn btn-default btn-lg"> <!--<img data-ng-src="https://www.eastcree.org/img/syllabics/e.png" /> <br />e <audio data-ng-init="mp3File='https://www.eastcree.org/snd/syllabics/e.mp3'"> <source data-ng-src="{{mp3File | trustedResource}}" type="audio/mpeg"> </audio>--> </span> </td> <td onclick="playAudio(this)"> <span class="btn btn-default btn-lg"> <!--<img data-ng-src="https://www.eastcree.org/img/syllabics/i.png" />--> <span class="syl" data-ng-bind="getSyllabics('i', true)"></span> <br />i <audio> <source src="https://www.eastcree.org/snd/syllabics/i.mp3" type="audio/mpeg"> </audio> </span> </td> <td onclick="playAudio(this)"> <span class="btn btn-default btn-lg"> <!--<img data-ng-src="https://www.eastcree.org/img/syllabics/ii.png" />--> <span class="syl" data-ng-bind="getSyllabics('ii')"></span> <br />ii <audio> <source src="https://www.eastcree.org/snd/syllabics/ii.mp3" type="audio/mpeg"> </audio> </span> </td> <td onclick="playAudio(this)"> <span class="btn btn-default btn-lg"> <!--<img data-ng-src="https://www.eastcree.org/img/syllabics/u.png" />--> <span class="syl" data-ng-bind="getSyllabics('u')"></span> <br />u <audio> <source src="https://www.eastcree.org/snd/syllabics/u.mp3" type="audio/mpeg"> </audio> </span> </td> <td onclick="playAudio(this)"> <span class="btn btn-default btn-lg"> <!--<img data-ng-src="https://www.eastcree.org/img/syllabics/uu.png" />--> <span class="syl" data-ng-bind="getSyllabics('uu')"></span> <br />uu <audio> <source src="https://www.eastcree.org/snd/syllabics/uu.mp3" type="audio/mpeg"> </audio> </span> </td> <td onclick="playAudio(this)"> <span class="btn btn-default btn-lg"> <!--<img data-ng-src="https://www.eastcree.org/img/syllabics/a.png" />--> <span class="syl" data-ng-bind="getSyllabics('a', true)"></span> <br />a <audio> <source src="https://www.eastcree.org/snd/syllabics/a.mp3" type="audio/mpeg"> </audio> </span> </td> <td onclick="playAudio(this)"> <span class="btn btn-default btn-lg"> <!--<img data-ng-src="https://www.eastcree.org/img/syllabics/aa.png" />--> <span class="syl" data-ng-bind="getSyllabics('aa')"></span> <br />aa <audio> <source src="https://www.eastcree.org/snd/syllabics/aa.mp3" type="audio/mpeg"> </audio> </span> </td> <td onclick="playAudio(this)"> <span class="btn btn-default btn-lg"> <!--<img data-ng-src="https://www.eastcree.org/img/syllabics/e.png" /> <br />e <audio data-ng-init="mp3File='https://www.eastcree.org/snd/syllabics/e.mp3'"> <source data-ng-src="{{mp3File | trustedResource}}" type="audio/mpeg"> </audio>--> </span> </td> </tr> <tr> <td onclick="playAudio(this)"> <span class="btn btn-default btn-lg"> <!--<img data-ng-src="https://www.eastcree.org/img/syllabics/e.png" /> <br />e <audio data-ng-init="mp3File='https://www.eastcree.org/snd/syllabics/e.mp3'"> <source data-ng-src="{{mp3File | trustedResource}}" type="audio/mpeg"> </audio>--> </span> </td> <td onclick="playAudio(this)"> <span class="btn btn-default btn-lg"> <!--<img data-ng-src="https://www.eastcree.org/img/syllabics/we.png" />--> <span class="syl" data-ng-bind="getSyllabics('we')"></span> <br />we <audio> <source src="https://www.eastcree.org/snd/syllabics/we.mp3" type="audio/mpeg"> </audio> </span> </td> <td onclick="playAudio(this)"> <span class="btn btn-default btn-lg"> <!--<img data-ng-src="https://www.eastcree.org/img/syllabics/wi.png" />--> <span class="syl" data-ng-bind="getSyllabics('wi')"></span> <br />wi <audio> <source src="https://www.eastcree.org/snd/syllabics/wi.mp3" type="audio/mpeg"> </audio> </span> </td> <td onclick="playAudio(this)"> <span class="btn btn-default btn-lg"> <!--<img data-ng-src="https://www.eastcree.org/img/syllabics/wii.png" />--> <span class="syl" data-ng-bind="getSyllabics('wii')"></span> <br />wii <audio> <source src="https://www.eastcree.org/snd/syllabics/wii.mp3" type="audio/mpeg"> </audio> </span> </td> <td onclick="playAudio(this)"> <span class="btn btn-default btn-lg"> <!--<img data-ng-src="https://www.eastcree.org/img/syllabics/wu.png" />--> <span class="syl" data-ng-bind="getSyllabics('wu')"></span> <br />wu <audio> <source src="https://www.eastcree.org/snd/syllabics/wu.mp3" type="audio/mpeg"> </audio> </span> </td> <td onclick="playAudio(this)"> <span class="btn btn-default btn-lg"> <!--<img data-ng-src="https://www.eastcree.org/img/syllabics/wuu.png" />--> <span class="syl" data-ng-bind="getSyllabics('wuu')"></span> <br />wuu <audio> <source src="https://www.eastcree.org/snd/syllabics/wuu.mp3" type="audio/mpeg"> </audio> </span> </td> <td onclick="playAudio(this)"> <span class="btn btn-default btn-lg"> <!--<img data-ng-src="https://www.eastcree.org/img/syllabics/wa.png" />--> <span class="syl" data-ng-bind="getSyllabics('wa')"></span> <br />wa <audio> <source src="https://www.eastcree.org/snd/syllabics/wa.mp3" type="audio/mpeg"> </audio> </span> </td> <td onclick="playAudio(this)"> <span class="btn btn-default btn-lg"> <!--<img data-ng-src="https://www.eastcree.org/img/syllabics/aa.png" /> <br />aa <audio data-ng-init="mp3File='https://www.eastcree.org/snd/syllabics/aa.mp3'"> <source data-ng-src="{{mp3File | trustedResource}}" type="audio/mpeg"> </audio>--> </span> </td> <td onclick="playAudio(this)"> <span class="btn btn-default btn-lg"> <!--<img data-ng-src="https://www.eastcree.org/img/syllabics/waa.png" />--> <span class="syl" data-ng-bind="getSyllabics('waa')"></span> <br />waa <audio> <source src="https://www.eastcree.org/snd/syllabics/waa.mp3" type="audio/mpeg"> </audio> </span> </td> </tr> <tr data-ng-repeat="row in ['p','t','k','ch','m','n', 'l', 's', 'sh', 'y', 'r', 'v', 'th']"> <td data-ng-repeat="syl in ['e','we','i','ii','u','uu','a','aa', 'waa']" onclick="playAudio(this)" > <span data-ng-if="syl!=''" class="btn btn-default btn-lg"> <span class="syl" data-ng-bind="getSyllabics(row+syl)"></span> <!--<img data-ng-src="https://www.eastcree.org/img/syllabics/syllables/{{row+syl}}.png" />--><br />{{row+syl}} <audio data-ng-init="mp3File='https://www.eastcree.org/snd/syllabics/'+row+syl+'.mp3'"> <source data-ng-src="{{mp3File | trustedResource}}" type="audio/mpeg"> </audio> </span> </td> </tr> </table> </div> <div class="table-wrap side-section"> <table class="syllabic-button"> <tr> <td onclick="playAudio(this)"> <span class="btn btn-default btn-lg"> <!--<img data-ng-src="https://www.eastcree.org/img/syllabics/finals/u.png" />--> <span class="syl" data-ng-bind="getSyllabics('u',true)"></span> <br />u <audio> <source src="https://www.eastcree.org/snd/syllabics/u.mp3" type="audio/mpeg"> </audio> </span> </td> <td onclick="playAudio(this)"> <span class="btn btn-default btn-lg"> <!--<img data-ng-src="https://www.eastcree.org/img/syllabics/finals/h.png" />--> <span class="syl" data-ng-bind="getSyllabics('h',true)"></span> <br />h <audio> <source src="https://www.eastcree.org/snd/syllabics/h.mp3" type="audio/mpeg"> </audio> </span> </td> </tr> <tr> <td onclick="playAudio(this)"> <span class="btn btn-default btn-lg"> <!--<img data-ng-src="https://www.eastcree.org/img/syllabics/u.png" /> <br />u <audio data-ng-init="mp3File='https://www.eastcree.org/snd/syllabics/u.mp3'"> <source data-ng-src="{{mp3File | trustedResource}}" type="audio/mpeg"> </audio>--> </span> </td> <td onclick="playAudio(this)"> <span class="btn btn-default btn-lg"> <!--<img data-ng-src="https://www.eastcree.org/img/syllabics/h.png" /> <br />h <audio data-ng-init="mp3File='https://www.eastcree.org/snd/syllabics/h.mp3'"> <source data-ng-src="{{mp3File | trustedResource}}" type="audio/mpeg"> </audio>--> </span> </td> </tr> <tr> <td onclick="playAudio(this)"> <span class="btn btn-default btn-lg"> <!--<img data-ng-src="https://www.eastcree.org/img/syllabics/finals/p.png" />--> <span class="syl" data-ng-bind="getSyllabics('p',true)"></span> <br />p <audio> <source src="https://www.eastcree.org/snd/syllabics/p.mp3" type="audio/mpeg"> </audio> </span> </td> <td onclick="playAudio(this)"> <span class="btn btn-default btn-lg"> <!--<img data-ng-src="https://www.eastcree.org/img/syllabics/h.png" /> <br />h <audio data-ng-init="mp3File='https://www.eastcree.org/snd/syllabics/h.mp3'"> <source data-ng-src="{{mp3File | trustedResource}}" type="audio/mpeg"> </audio>--> </span> </td> </tr> <tr> <td onclick="playAudio(this)"> <span class="btn btn-default btn-lg"> <!--<img data-ng-src="https://www.eastcree.org/img/syllabics/finals/t.png" />--> <span class="syl" data-ng-bind="getSyllabics('t',true)"></span> <br />t <audio> <source src="https://www.eastcree.org/snd/syllabics/t.mp3" type="audio/mpeg"> </audio> </span> </td> <td onclick="playAudio(this)"> <span class="btn btn-default btn-lg"> <!--<img data-ng-src="https://www.eastcree.org/img/syllabics/h.png" /> <br />h <audio data-ng-init="mp3File='https://www.eastcree.org/snd/syllabics/h.mp3'"> <source data-ng-src="{{mp3File | trustedResource}}" type="audio/mpeg"> </audio>--> </span> </td> </tr> <tr> <td onclick="playAudio(this)"> <span class="btn btn-default btn-lg"> <!--<img data-ng-src="https://www.eastcree.org/img/syllabics/finals/k.png" />--> <span class="syl" data-ng-bind="getSyllabics('k',true)"></span> <br />k <audio> <source src="https://www.eastcree.org/snd/syllabics/k.mp3" type="audio/mpeg"> </audio> </span> </td> <td onclick="playAudio(this)"> <span class="btn btn-default btn-lg"> <!--<img data-ng-src="https://www.eastcree.org/img/syllabics/syllables/kw.png" />--> <span class="syl" data-ng-bind="getSyllabics('kw')"></span> <br />kw <audio> <source src="https://www.eastcree.org/snd/syllabics/kw.mp3" type="audio/mpeg"> </audio> </span> </td> </tr> <tr> <td onclick="playAudio(this)"> <span class="btn btn-default btn-lg"> <!--<img data-ng-src="https://www.eastcree.org/img/syllabics/syllables/ch.png" />--> <span class="syl" data-ng-bind="getSyllabics('ch')"></span> <br />ch <audio> <source src="https://www.eastcree.org/snd/syllabics/ch.mp3" type="audio/mpeg"> </audio> </span> </td> <td onclick="playAudio(this)"> <span class="btn btn-default btn-lg"> <!--<img data-ng-src="https://www.eastcree.org/img/syllabics/h.png" /> <br />h <audio data-ng-init="mp3File='https://www.eastcree.org/snd/syllabics/h.mp3'"> <source data-ng-src="{{mp3File | trustedResource}}" type="audio/mpeg"> </audio>--> </span> </td> </tr> <tr> <td onclick="playAudio(this)"> <span class="btn btn-default btn-lg"> <!--<img data-ng-src="https://www.eastcree.org/img/syllabics/finals/m.png" />--> <span class="syl" data-ng-bind="getSyllabics('m',true)"></span> <br />m <audio> <source src="https://www.eastcree.org/snd/syllabics/m.mp3" type="audio/mpeg"> </audio> </span> </td> <td onclick="playAudio(this)"> <span class="btn btn-default btn-lg"> <!--<img data-ng-src="https://www.eastcree.org/img/syllabics/syllables/mw.png" />--> <span class="syl" data-ng-bind="getSyllabics('mw')"></span> <br />mw <audio> <source src="https://www.eastcree.org/snd/syllabics/mw.mp3" type="audio/mpeg"> </audio> </span> </td> </tr> <tr> <td onclick="playAudio(this)"> <span class="btn btn-default btn-lg"> <!--<img data-ng-src="https://www.eastcree.org/img/syllabics/finals/n.png" />--> <span class="syl" data-ng-bind="getSyllabics('n',true)"></span> <br />n <audio> <source src="https://www.eastcree.org/snd/syllabics/n.mp3" type="audio/mpeg"> </audio> </span> </td> <td onclick="playAudio(this)"> <span class="btn btn-default btn-lg"> <!--<img data-ng-src="https://www.eastcree.org/img/syllabics/h.png" /> <br />h <audio data-ng-init="mp3File='https://www.eastcree.org/snd/syllabics/h.mp3'"> <source data-ng-src="{{mp3File | trustedResource}}" type="audio/mpeg"> </audio>--> </span> </td> </tr> <tr> <td onclick="playAudio(this)"> <span class="btn btn-default btn-lg"> <!--<img data-ng-src="https://www.eastcree.org/img/syllabics/finals/l.png" />--> <span class="syl" data-ng-bind="getSyllabics('l',true)"></span> <br />l <audio> <source src="https://www.eastcree.org/snd/syllabics/l.mp3" type="audio/mpeg"> </audio> </span> </td> <td onclick="playAudio(this)"> <span class="btn btn-default btn-lg"> <!--<img data-ng-src="https://www.eastcree.org/img/syllabics/h.png" /> <br />h <audio data-ng-init="mp3File='https://www.eastcree.org/snd/syllabics/h.mp3'"> <source data-ng-src="{{mp3File | trustedResource}}" type="audio/mpeg"> </audio>--> </span> </td> </tr> <tr> <td onclick="playAudio(this)"> <span class="btn btn-default btn-lg"> <!--<img data-ng-src="https://www.eastcree.org/img/syllabics/finals/s.png" />--> <span class="syl" data-ng-bind="getSyllabics('s',true)"></span> <br />s <audio> <source src="https://www.eastcree.org/snd/syllabics/s.mp3" type="audio/mpeg"> </audio> </span> </td> <td onclick="playAudio(this)"> <span class="btn btn-default btn-lg"> <!--<img data-ng-src="https://www.eastcree.org/img/syllabics/h.png" /> <br />h <audio data-ng-init="mp3File='https://www.eastcree.org/snd/syllabics/h.mp3'"> <source data-ng-src="{{mp3File | trustedResource}}" type="audio/mpeg"> </audio>--> </span> </td> </tr> <tr> <td onclick="playAudio(this)"> <span class="btn btn-default btn-lg"> <!--<img data-ng-src="https://www.eastcree.org/img/syllabics/syllables/sh.png" />--> <span class="syl" data-ng-bind="getSyllabics('sh')"></span> <br />sh <audio> <source src="https://www.eastcree.org/snd/syllabics/sh.mp3" type="audio/mpeg"> </audio> </span> </td> <td onclick="playAudio(this)"> <span class="btn btn-default btn-lg"> <!--<img data-ng-src="https://www.eastcree.org/img/syllabics/h.png" /> <br />h <audio data-ng-init="mp3File='https://www.eastcree.org/snd/syllabics/h.mp3'"> <source data-ng-src="{{mp3File | trustedResource}}" type="audio/mpeg"> </audio>--> </span> </td> </tr> <tr> <td onclick="playAudio(this)"> <span class="btn btn-default btn-lg"> <!--<img data-ng-src="https://www.eastcree.org/img/syllabics/finals/y.png" />--> <span class="syl" data-ng-bind="getSyllabics('y',true)"></span> <br />y <audio> <source src="https://www.eastcree.org/snd/syllabics/y.mp3" type="audio/mpeg"> </audio> </span> </td> <td onclick="playAudio(this)"> <span class="btn btn-default btn-lg"> <!--<img data-ng-src="https://www.eastcree.org/img/syllabics/h.png" /> <br />h <audio data-ng-init="mp3File='https://www.eastcree.org/snd/syllabics/h.mp3'"> <source data-ng-src="{{mp3File | trustedResource}}" type="audio/mpeg"> </audio>--> </span> </td> </tr> <tr> <td onclick="playAudio(this)"> <span class="btn btn-default btn-lg"> <!--<img data-ng-src="https://www.eastcree.org/img/syllabics/finals/r.png" />--> <span class="syl" data-ng-bind="getSyllabics('r',true)"></span> <br />r <audio> <source src="https://www.eastcree.org/snd/syllabics/r.mp3" type="audio/mpeg"> </audio> </span> </td> <td onclick="playAudio(this)"> <span class="btn btn-default btn-lg"> <!--<img data-ng-src="https://www.eastcree.org/img/syllabics/h.png" /> <br />h <audio data-ng-init="mp3File='https://www.eastcree.org/snd/syllabics/h.mp3'"> <source data-ng-src="{{mp3File | trustedResource}}" type="audio/mpeg"> </audio>--> </span> </td> </tr> <tr> <td onclick="playAudio(this)"> <span class="btn btn-default btn-lg"> <!--<img data-ng-src="https://www.eastcree.org/img/syllabics/finals/v.png" />--> <span class="syl" data-ng-bind="getSyllabics('v',true)"></span> <br />v,f,ph <audio> <source src="https://www.eastcree.org/snd/syllabics/v.mp3" type="audio/mpeg"> </audio> </span> </td> <td onclick="playAudio(this)"> <span class="btn btn-default btn-lg"> <!--<img data-ng-src="https://www.eastcree.org/img/syllabics/h.png" /> <br />h <audio data-ng-init="mp3File='https://www.eastcree.org/snd/syllabics/h.mp3'"> <source data-ng-src="{{mp3File | trustedResource}}" type="audio/mpeg"> </audio>--> </span> </td> </tr> <tr> <td onclick="playAudio(this)"> <span class="btn btn-default btn-lg"> <!--<img data-ng-src="https://www.eastcree.org/img/syllabics/syllables/th.png" />--> <span class="syl" data-ng-bind="getSyllabics('th')"></span> <br />th <audio> <source src="https://www.eastcree.org/snd/syllabics/th.mp3" type="audio/mpeg"> </audio> </span> </td> <td onclick="playAudio(this)"> <span class="btn btn-default btn-lg"> <!--<img data-ng-src="https://www.eastcree.org/img/syllabics/h.png" /> <br />h <audio data-ng-init="mp3File='https://www.eastcree.org/snd/syllabics/h.mp3'"> <source data-ng-src="{{mp3File | trustedResource}}" type="audio/mpeg"> </audio>--> </span> </td> </tr> </table> </div> </div> <script type="text/javascript"> function playAudio(cell){ var audio = $("audio",cell); audio[0].play(); } angular.module('syllabicApp', ['ngSanitize']) .controller('SyllabicController', ['$scope', function( $scope) { $scope.syllabics ={ "syllables": { "thwâ": "ᕨ", "chwe": "ᒒ", "chwâ": "ᒞ", "lwâ": "ᓨ", "shwe": "ᔗ", "shwâ": "ᔣ", "thwe": "ᐧᕞ", "vwe": "ᐧᕓ", "mw": "ᒽ", "rwe": "ᐧᕂ", "pwe": "ᐺ", "pwâ": "ᑆ", "the": "ᕞ", "thi": "ᕠ", "thî": "ᕢ", "thu": "ᕤ", "thû": "ᕥ", "twâ": "ᑣ", "tha": "ᕦ", "thâ": "ᕧ", "twe": "ᑗ", "kwe": "ᑴ", "kwâ": "ᒀ", "che": "ᒉ", "chi": "ᒋ", "chî": "ᒌ", "chu": "ᒍ", "chû": "ᒎ", "cha": "ᒐ", "châ": "ᒑ", "mwe": "ᒬ", "mwâ": "ᒸ", "nwe": "ᓉ", "nwâ": "ᓍ", "swe": "ᓶ", "she": "ᔐ", "shi": "ᔑ", "shî": "ᔒ", "shu": "ᔓ", "shû": "ᔔ", "sha": "ᔕ", "shâ": "ᔖ", "swâ": "ᔂ", "ywe": "ᔯ", "rwâ": "ᕎ", "vwâ": "ᕛ", "we": "ᐌ", "wi": "ᐎ", "wî": "ᐐ", "wu": "ᐒ", "wû": "ᐔ", "wa": "ᐗ", "wâ": "ᐙ", "pe": "ᐯ", "pi": "ᐱ", "pî": "ᐲ", "pu": "ᐳ", "pû": "ᐴ", "pa": "ᐸ", "pâ": "ᐹ", "th": "ᕪ", "te": "ᑌ", "ti": "ᑎ", "tâ": "ᑖ", "tî": "ᑏ", "tu": "ᑐ", "tû": "ᑑ", "ta": "ᑕ", "ke": "ᑫ", "ki": "ᑭ", "kî": "ᑮ", "ku": "ᑯ", "kû": "ᑰ", "ka": "ᑲ", "kâ": "ᑳ", "kw": "ᒄ", "ch": "ᒡ", "me": "ᒣ", "mi": "ᒥ", "mî": "ᒦ", "mu": "ᒧ", "mû": "ᒨ", "ma": "ᒪ", "mâ": "ᒫ", "ne": "ᓀ", "na": "ᓇ", "nâ": "ᓈ", "ni": "ᓂ", "nî": "ᓃ", "nu": "ᓄ", "nû": "ᓅ", "le": "ᓓ", "lwe": "ᓜ", "li": "ᓕ", "lî": "ᓖ", "lu": "ᓗ", "lû": "ᓘ", "la": "ᓚ", "lâ": "ᓛ", "se": "ᓭ", "sh": "ᔥ", "sa": "ᓴ", "sâ": "ᓵ", "si": "ᓯ", "sî": "ᓰ", "su": "ᓱ", "sû": "ᓲ", "ye": "ᔦ", "yi": "ᔨ", "yî": "ᔩ", "yu": "ᔪ", "yû": "ᔫ", "ya": "ᔭ", "yâ": "ᔮ", "ywâ": "ᔻ", "re": "ᕃ", "ri": "ᕆ", "rî": "ᕇ", "ru": "ᕈ", "rû": "ᕉ", "ra": "ᕋ", "râ": "ᕌ", "ve": "ᕓ", "vi": "ᕕ", "vî": "ᕖ", "vu": "ᕗ", "vû": "ᕘ", "va": "ᕙ", "vâ": "ᕚ", "u": "ᐅ", "î": "ᐄ", "â": "ᐋ", "û": "ᐆ" }, "finals": { "u": "ᐤ", "p": "ᑉ", "t": "ᒼ", "k": "ᒃ", "m": "ᒻ", "n": "ᓐ", "l": "ᓪ", "s": "ᔅ", "r": "ᕐ", "e": "ᐁ", "i": "ᐃ", "y": "ᔾ", "a": "ᐊ", "h": "ᐦ", "v": "ᕝ", "f": "ᕝ", "w": "ᐧ", ".": "᙮" } }; $scope.getSyllabics=function(roman,isFinal){ var a = /aa/g; var e = /ee/g; var i = /ii/g; var u = /uu/g; var o = /oo/g; var hats = roman.replace(a,"â"); hats = hats.replace(i,"î"); hats = hats.replace(u,"û"); hats = hats.replace(o,"ô"); hats = hats.replace(e,"ê"); //console.log(roman,hats,"getSyllabics"); if(isFinal)return $scope.syllabics.finals[hats]; return $scope.syllabics.syllables[hats]; }; }]) .filter('trustedResource',[ '$sce', function($sce){ return function(val){ return $sce.trustAsResourceUrl(val); } } ]); try{ $(window).on('load',function(){ $("#loading").remove(); //console.log('here'); }); }catch(err){ console.log(err); // $("#loading").remove(); } try{ setTimeout(function(){ $("#loading").remove(); },180000); $(document).on('ready',function(){ //console.log('ready'); //$("#loading").remove(); }); }catch(err){ console.log(err); //$("#loading").remove(); } </script> </body> </html>